mirror of
https://github.com/wsargent/docker-cheat-sheet.git
synced 2025-12-16 23:20:13 +01:00
Added docker create to lifecycle
This commit is contained in:
parent
ebd2e0f86a
commit
580b6227f5
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