Installation and Configuration Flashcards

1
Q

How to install UCP?

A

Run the docker UCP container

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

Minimum requirements for running docker UCP?

A

Manager nodes: 8GB ram, 2 vCPU, 5GB disk space

Worker nodes: 4GB ram, 500MB disk space

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

What are two flags which should be passed when installing UCP?

A
  • -host-address host.ip.address

- -force-minimums

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

What are the four components of Access Control in UCP?

A

Subjects
Roles
Collections
Grants

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

How to install DTR?

A

Run the DTR container

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

Minimum requirements for DTR?

A
16GB ram
2 vCPU
10GB disk space
Node must be managed by UCP
Node must have a fixed hostname
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How to uninstall DTR?

A

Run docker image with destroy flag:
docker run -it –rm docker/dtr:latest destroy –ucp-insecure-tls
Run additional commands to completely remove from UCP

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

What step is required before DTR can be used on CLI?

A

Retrieve the CA certificate from DTR node
Add it to local trusted CA’s
Restart docker

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

How to do a backup of DTR?

A

Run the DTR container with the with the backup command, specifying URL and credentials for DTR and redirect to .tar file

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

What does DTR backup command include/exclude?

A

Only backs up DTR config and metadata

Does not back up users or images

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

How to make a backup of DTR images?

A

For local DTR docker volume storage, tar the contents of the docker volume

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

How to add more DTR nodes for HA?

A

Run the DTR container with the with the join command

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

How to return the health status of a DTR replica?

A

curl ip_address_of_dtr_node/_ping

Returns json healthcheck

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

How to get DTR cluster status and information?

A

curl ip_address_of_dtr_node/api/v0/meta/cluster_status

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

How to make sure tags do not get overwritten in DTR?

A

Set the repository tags to Immutable in the console

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

How to speed up download of DTR images to users globally?

A

Use DTR Caching

17
Q

Which two orchestrators can be set on Docker EE in UCP?

A

Docker Swarm and Kubernetes

18
Q

How can the orchestrator type for a specific node be set in the CLI?

A

docker node update –label-add com.docker.ucp.orchestrator.kubernetes=true my_node