20
pages/common/docker.md
Normal file
20
pages/common/docker.md
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# 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}}`
|
Reference in New Issue
Block a user