mirror of
https://github.com/wsargent/docker-cheat-sheet.git
synced 2025-12-16 15:10:12 +01:00
Merge pull request #10 from vdemario/patch-2
Added docker create to lifecycle
This commit is contained in:
commit
312f4b8abc
1 changed files with 2 additions and 1 deletions
|
|
@ -96,7 +96,8 @@ Some common misconceptions it's worth correcting:
|
|||
|
||||
### Lifecycle
|
||||
|
||||
* [`docker run`](http://docs.docker.io/reference/commandline/cli/#run) creates a container.
|
||||
* [`docker create`](http://docs.docker.io/reference/commandline/cli/#create) creates a container but does not start it.
|
||||
* [`docker run`](http://docs.docker.io/reference/commandline/cli/#run) creates and starts a container in one operation.
|
||||
* [`docker stop`](http://docs.docker.io/reference/commandline/cli/#stop) stops it.
|
||||
* [`docker start`](http://docs.docker.io/reference/commandline/cli/#start) will start it again.
|
||||
* [`docker restart`](http://docs.docker.io/reference/commandline/cli/#restart) restarts a container.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue