Docker Engine Flashcards

1
Q

What is Docker Engine?

A

The mechanism which runs and deploys containers

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

Which are the main components that make up the Docker Engine?

A

a) Docker Daemon
b) containerd
c) runc

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

What were the main components that used to make docker engine?

A

a)daemon
A monolithic binary with Docker client,Docker API,container run time and image builds
b)LXC

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

Why LXC was abandoned?

A

It was platform specific, Linux

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

What is runc>

A

It is the OCI(open container implementation ) of runtume-specc.runc is a small, lightweight CLI wrapper for
libcontainer (remember that libcontainer originally replaced LXC in the early Docker
architecture).

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

What is the purpose of runc?

A

It’s purpose is to create containers

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

What is the purpose of containerd?

A

Its sole purpose in life was to manage

container life cycle operations — start | stop | pause | rm….

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

When you start a new container,how the commands are converted?

A

The commands are converted to API payload and are posted to the correct API point.

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

Where the API is implemented ?

A

The API is implemented in the daemon.

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

When the daemon receives commands for creating containers what exactly happens?

A

When the daemon receives the commands, it communicates with the containerd with a CRUD-style API. Actually it cannot create containers and for that reason it communicates with runc.I te forks a new instance of runc.

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

What runc does after the call?

A

It pulls the OS kernel modules available for the containers.

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

What is shim?

A

SHim is the container’s parent

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