Skip to content

Commit a5730fe

Browse files
committed
update readme
1 parent ea18d2e commit a5730fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and mounts the current working directory and `/home` on the host machine
1717
to `/workdir` and `/home_host` in the container respectively.
1818
```
1919
docker run -d --init \
20+
--platform linux/amd64 \
2021
--hostname jupyterhub-pytorch \
2122
--log-opt max-size=50m \
2223
-p 8000:8000 \
@@ -33,6 +34,7 @@ The following command (only works on Linux) does the same as the above one
3334
except that it limits the use of CPU and memory.
3435
```
3536
docker run -d --init \
37+
--platform linux/amd64 \
3638
--hostname jupyterhub-pytorch \
3739
--log-opt max-size=50m \
3840
--memory=$(($(head -n 1 /proc/meminfo | awk '{print $2}') * 4 / 5))k \

0 commit comments

Comments
 (0)