Lecture 12: Working with Docker Flashcards

1
Q

What is a Daemon?

A

A general term for a background process

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

What is an image?

A

A particular runtime configuration

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

What is a container?

A

A singular deployment of that image

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

What is the -d option in the docker run command?

A

use a daemon

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

What is the -p option in the docker run command?

A

To specify the internal and external ports of the

container

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

What happens when you press the stop button or use the kill command to kill running containers?

A

Halt and terminate the container

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