Containers Flashcards

1
Q

How do Windows and Hyper-V containers differ?

A

Windows Containers: Shared Kernel

Hyper-V Containers: Multiple kernels, thin hypervisor layer

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

What is the docker command to get help?

A

docker –help

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

What is the docker command to view local images?

A

docker images

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

What is the docker command to view online image?

A

docker search

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

What is the docker command to view running containers?

A

docker ps -a

-a switch gets running + stopped

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

What is the docker command to create an image from a container?

A

docker commit

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

What is the docker command to view container state and settings?

A

Docker inspect

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

What is the docker command to remove a container?

A

docker rm

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

What is the docker command to remove a container image?

A

docker rmi

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

What is the docker command to show running processes within a specific container?

A

docker top

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