User Tools

Site Tools


docker:containers:start_a_container

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker:containers:start_a_container [2020/11/11 11:06] 192.168.1.1docker:containers:start_a_container [2022/09/19 14:38] (current) – [Docker - Containers - Start a Container] peter
Line 1: Line 1:
 ====== Docker - Containers - Start a Container ====== ====== Docker - Containers - Start a Container ======
  
-Containers are start using either the **docker start** command; or the **docker run** command. +Containers are started using either the **docker start** command; or the **docker run** command.
- +
-|Docker Start|Launch a previously stopped container.| +
-|:::|For example, if you had stopped a database with the command <code bash>docker stop CONTAINER_ID</code>+
-|:::|, you can relaunch the same container with the command <code bash>docker start CONTAINER_ID</code>, and the data and settings will be the same.|+
  
 <WRAP info> <WRAP info>
-  * **Docker Start**:  Launch a previously stopped container.  For example, if you had stopped a database with the command **docker stop CONTAINER_ID**, you can relaunch the same container with the command **docker start CONTAINER_ID**, and the data and settings will be the same+  * **Docker Start**:  Launch a previously stopped container. 
- +    * For example, if you had stopped a container with the command **''docker stop CONTAINER_ID''**, you can relaunch the same container with the command **''docker start CONTAINER_ID''**, and the data and settings will be the same.
-  * **Docker run**:  Create a new container of an image, and execute the container. You can create N clones of the same image. The command is: **docker run IMAGE_ID** **and not** **docker run CONTAINER_ID**.+
  
 +  * **Docker run**:  Create a new container of an image, and execute the container.
 +    * You can create N clones of the same image.  The command is: **''docker run IMAGE_ID''** **and not** **''docker run CONTAINER_ID''**.
  
 </WRAP> </WRAP>
docker/containers/start_a_container.1605092777.txt.gz · Last modified: 2020/11/11 11:06 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki