Search Header Logo

Docker-Containers

Authored by Jose Gonzalez

Instructional Technology

Professional Development

Used 4+ times

Docker-Containers
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

docker run --name elastic_training_ --net training_net -p 9200:9300 -it -m 1GB -v docker.elastic.co/elasticsearch/elasticsearch:8.12.2

Local port 9200 maps to container port 9300

Local port 9300 maps to container port 9300

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To solve this error: "Error response from daemon: Conflict. The container name "/kibana_training_" is already in use by container"

  1. 1. stop container

  2. 2 remove container

  3. 3 restart container with same name

  1. 1. stop container

  2. 2. restart container with same name

  1. 1. stop container

  2. 2. remove container

  3. 3. start container with same name

  1. 1. remove container

  2. 2. stop container with same name

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which command fix this "max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]"?

sysctl -w vm.max_map_count=262144

sysctl vm.max_map_count=262144

sysctl -v m.max_map_count=262144

sysctl -x vm.max_map_count=262144

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Create a network NETWORK and add a container CONTAINER to this network

  1. 1. docker network create NETWORK

  1. 2. docker network add NETWORK CONTAINER

  1. 1. docker network create NETWORK

  1. 2. docker network connect NETWORK CONTAINER

  1. 1. docker network add NETWORK

  1. 2. docker network connect NETWORK CONTAINER

  1. 1. docker network connect NETWORK

  1. 2. docker network connect NETWORK CONTAINER

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

This docker-compose will not work...

  1. Still pending mapping port

Still pending network definition

Still pending the volumes

Still pending ENV variables

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is it possible to create different containers with just one Image?

Yes, with the same container name

Yes, with different container name

No, a new image must be downloaded to create other container

N/A

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

docker network inspect training_net

Show network properties

Show network properties and containers added in this Network

Wrong command

Command deprecated

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?