Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -1,28 +1,28 @@
# docker
> Docker allows you to package an application with all of its
> dependencies into a standardized unit for software development.
> Docker allows you to package an application with all of its.
> Dependencies into a standardized unit for software development.
- List of running docker containers
- List of running docker containers:
`docker ps`
- List all docker containers (running and stopped)
- List all docker containers (running and stopped):
`docker ps -a`
- Start a container
- Start a container:
`docker start {{container}}`
- Stop a container
- Stop a container:
`docker stop {{container}}`
- Start a container from an image and get a shell inside of it
- Start a container from an image and get a shell inside of it:
`docker run -it {{image}} bash`
- Run a command inside of an already running container
- Run a command inside of an already running container:
`docker exec {{container}} {{command}}`