Docker
Last updated
Last updated
Image = application + dependencies
Containers - An instance based on an image that runs on a "Docker Host"
Create a container (without starting it):
Rename an existing container
Run a command in a new container
-d
- detached application will run in background and will not show any console output
-p
- publish port <host>:<container>
--name - optional
-v - mount a volume
--link - communicate between containers
Remove container after it exits
Start a container and keep it running
Start a container and creates an interactive bash shell in the container
Create, Start, and run a command inside the container and remove the container after executing command.
Execute command inside already running container.
Delete a container (if it is not running)
Update the configuration of the container
Start Container
Stop running Container
Stop running Container and start it again
Pause processes in a running container
Unpause processes in a running container
Block a container until others stop
Kill a container by sending a SIGKILL to a running container
Attach local standard input, output, and error streams to a running container
Create an image from a tarball
Create an image from a container
Load an image from a tar archive or stdin
Save an image to a tar archive
List real-time events from a container
Show port mapping for a container
Show running processes in a container
Show live resource usage statistics of container
Show changes to files (or directories) on a filesystem
List all images that are locally stored with the docker engine
Show the history of an image
List networks
Remove one or more networks
Show information on one or more networks
Connects a container to a network
Disconnect a container from a network