Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker autostart container ubuntu on startup

# New container
$ docker run -d --restart unless-stopped your_container_name_here

# Existing container
$ docker update --restart unless-stopped your_container_name_here
 
PREVIOUS NEXT
Tagged: #docker #autostart #container #ubuntu #startup
ADD COMMENT
Topic
Name
6+3 =