Docker Commands Flashcards

1
Q

Stop all containers

A

docker stop $(docker ps -aq)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Remove all containers

A

docker rm $(docker ps -aq)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Remove all docker images

A

docker rmi $(docker images -q)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

inside outside port thing

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly