Update README file
This commit is contained in:
parent
fdb592deb3
commit
bbee92fe53
@ -11,22 +11,30 @@
|
|||||||
|
|
||||||
* List running containers
|
* List running containers
|
||||||
|
|
||||||
|
```
|
||||||
% docker ps
|
% docker ps
|
||||||
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
|
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
|
||||||
d511b20c73d6 mahesh/mma-ask-app "docker-entrypoint.s…" 8 minutes ago Up 8 minutes 0.0.0.0:49330->3000/tcp upbeat_lederberg
|
d511b20c73d6 mahesh/mma-ask-app "docker-entrypoint.s…" 8 minutes ago Up 8 minutes 0.0.0.0:49330->3000/tcp upbeat_lederberg
|
||||||
|
```
|
||||||
|
|
||||||
* List all docker containrs
|
* List all docker containrs
|
||||||
|
|
||||||
|
```
|
||||||
% docker ps --all
|
% docker ps --all
|
||||||
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
|
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
|
||||||
d511b20c73d6 mahesh/mma-ask-app "docker-entrypoint.s…" 12 minutes ago Exited (137) 3 minutes ago upbeat_lederberg
|
d511b20c73d6 mahesh/mma-ask-app "docker-entrypoint.s…" 12 minutes ago Exited (137) 3 minutes ago upbeat_lederberg
|
||||||
% docker ps --all --quiet
|
% docker ps --all --quiet
|
||||||
d511b20c73d6
|
d511b20c73d6
|
||||||
|
```
|
||||||
|
|
||||||
* Stop a running container
|
* Stop a running container
|
||||||
|
|
||||||
|
```
|
||||||
% docker stop d511b20c73d6
|
% docker stop d511b20c73d6
|
||||||
|
```
|
||||||
|
|
||||||
* Remove a container
|
* Remove a container
|
||||||
|
|
||||||
|
```
|
||||||
% docker rm d511b20c73d6
|
% docker rm d511b20c73d6
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user