File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments