4. Deploy Windows Containers Flashcards

1
Q

Containers

A

A means for rapidly deploying virtualized, isolated operating system environments for application deployment and execution through the use of a shared operating system image.

containers do not perform a boot sequence

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

Namespace isolation

A

each container only has access to the resources that are available to it.

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

Resource governance

A

a container only has access to a specified amount of processor cycles, system memory, network bandwidth, and other resources and no more.

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

Windows Server containers

and hyper-v containers

A

Windows containers share the kernel with the host for trustworthy applications.

hyper-v containers are more isolated and have their own container. for untrustworthy applications.

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

Building a Hyper-v Container

A
  1. Expose Virtualization
  2. build a vm
  3. turn on mac address spoofing
  4. docker run -it –isolation=hyper-v microsoft/windowsservercore ping -t localhost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Dockerd.exe

A

the docker engine or the daemon that runs in the background

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

docker.exe

A

The docker client, the command shell you use to create and manage containers.

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

DockerFiles

A

script files that contain instructions for the creation of container images.

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

Docker-Hub

A

the docker registry that is filled with images for importing and building containers.

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

docker cloud

A

a cloud service you can use to deploy you containerized applications.

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

Installing docker on windows server

A

Install-module -name dockermsftprovider -repository psgallery -force

install-package -name docker -providername dockermsftprovider

restart-computer -f

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

Configuration file

A

the docker engine is a palin text configuration file in the form of a .json and can be used to configure things like startup options.

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

Install a base operating system

A

docker.exe - Docker pull

Powershell - request-containerimage -repository microsoft/windowsservercore

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

Tag an image

A

Tagging a container is a version control mechanism it allows you to differentiate between image versions.

docker client - docker tag imagename:tag

PowerShell - add-containerimagetag -imageidorname _______ -repositroy ____ -tag #.#

failing to add a tag number will tag the image with the word latest, this does not mean it will actually be the latest image though if you are not managing your images properly.

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

Uninstall a docker operating system image

A

docker.exe - docker rmi

PowerShell - remove-containerimage

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

docker start

A

starts a container when you add a container id to the end of the command

17
Q

docker stop

A

stops a container when you add a container id onto the end of the command.

18
Q

Docker Attach

A

allows you to connect to a running container.

19
Q

Docker Commit

A

Create a new image from the current image you are working with.

20
Q

docker rm

A

removes a container

21
Q

transparent network

A

The container is connected to the same network as the container host.

22
Q

Docker build

A

allows you to build a new image