Difference between revisions of "Docker start"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
* <code>docker start CONTAINER_NAME</code>
 
* <code>docker start CONTAINER_NAME</code>
 +
* <code>docker start -i CONTAINER_NAME</code>
 
* <code>[[docker start --help]]</code>
 
* <code>[[docker start --help]]</code>
  

Revision as of 08:20, 18 January 2023

docker start start one or more stopped containers



  • docker start $(docker ps -a -q -f status=exited)
  • docker inspect -f "{{ .HostConfig.RestartPolicy}}" $(docker ps -a -q)



docker start my-nginx
Error response from daemon: driver failed programming external connectivity on endpoint my-nginx (395445d55007ad8e495498f7d0782a0a2311d2cfb25de0f1871e10bdfb445969): Error starting userland proxy: listen tcp 0.0.0.0:80: 
bind: address already in use
Error: failed to start containers: my-nginx


Related commands

Activities

  1. Understand Start configuration behavior and restart policy (docker update)

See also

Advertising: