mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 07:18:29 +01:00
c69b74e048
Added commonly used docker commands to list/start/stop containers.
20 lines
356 B
Markdown
20 lines
356 B
Markdown
# docker
|
|
|
|
> Docker allows you to package an application with all of its
|
|
> dependencies into a standardized unit for software development.
|
|
|
|
- List of running docker containers
|
|
|
|
`docker ps`
|
|
|
|
- List all docker containers (running and stopped)
|
|
|
|
`docker ps -a`
|
|
|
|
- Start a container
|
|
|
|
`docker start {{container}}`
|
|
|
|
- Stop a container
|
|
|
|
`docker stop {{container}}`
|