-
Notifications
You must be signed in to change notification settings - Fork 2
/
HOWTORUN
26 lines (20 loc) · 918 Bytes
/
HOWTORUN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# HOWTORUN
#
# Build (for fish shell syntax!)
set UID (id -u)
docker build --build-arg UID=$UID -t local/pfms .
SESSIONUSER=localhost
# For daemon, or background mode:
docker run --gpus all --privileged \
--env SESSIONUSER=$SESSIONUSER \
--name pfms --rm -it -d \
-p 2024:2024 \
local/pfms /start-reload.sh
# Run with support for source debugging
docker run --gpus all --privileged \
--env SESSIONUSER=$SESSIONUSER \
--name pfms --rm -it \
-p 2024:2024 \
-v $PWD/pfms:/app:ro \
local/pfms /start-reload.sh