Difference between revisions of "Docker start"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
<code>[[docker start]]</code> start one or more stopped [[containers]]
+
<code>[[docker]] start</code> start one or more stopped [[containers]] [https://docs.docker.com/engine/reference/commandline/start/ man]
 
 
* Man page: https://docs.docker.com/engine/reference/commandline/start/
 
  
  
 
* <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>
  
Line 23: Line 22:
  
  
== Related commands ==
+
== Related ==
 
* <code>[[docker stop]]</code>
 
* <code>[[docker stop]]</code>
 
* <code>[[docker service]]</code> ([[swarm]] mode)
 
* <code>[[docker service]]</code> ([[swarm]] mode)
Line 33: Line 32:
 
* <code>[[docker rm]]</code>
 
* <code>[[docker rm]]</code>
 
* <code>[[lxc launch]]</code>
 
* <code>[[lxc launch]]</code>
* <code[[podman start]]</code>
+
* <code>[[podman start]]</code>
 +
* <code>[[systemctl start docker]]</code>
 +
* <code>[[docker-compose.yml]]</code>
  
 
== Activities ==
 
== Activities ==

Latest revision as of 11:51, 10 October 2024

docker start start one or more stopped containers man



  • 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[edit]

Activities[edit]

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

See also[edit]

Advertising: