Skip to content

Commit 40be452

Browse files
authored
Minor tweaks to the installation guide (#3)
Signed-off-by: Alex Sergeev <asergeev@uber.com>
1 parent 12ca187 commit 40be452

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fashion_mnist/INSTALL.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $ sudo bash
2222

2323
```
2424
$ sudo bash
25-
# apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common lsb-core
25+
# apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common lsb-core
2626
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
2727
# add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
2828
# apt-get update
@@ -51,7 +51,8 @@ $ sudo docker build -t fashion_mnist_tutorial .
5151
## Auto-start model Docker
5252

5353
```
54-
$ (echo '#!/bin/sh -e'; echo 'while true; do nvidia-docker run -it --rm --privileged --network=host --shm-size 4G fashion_mnist_tutorial; sleep 60; done') | sudo tee /etc/rc.local
54+
$ (echo '#!/bin/sh -e'; echo 'while true; do nvidia-docker run --rm --privileged --network=host --shm-size 4G fashion_mnist_tutorial; sleep 60; done') | sudo tee /etc/rc.local
55+
$ sudo systemctl enable rc-local.service
5556
$ sudo reboot
5657
```
5758

0 commit comments

Comments
 (0)