MCQs > IT & Programming > Docker > For the following 'docker-compose.yml' fragment scala: build: ./scala expose: - 40000-50000 ports: - 9000:9000 - 4040:4040 links: - mongo volumes: - ../../:/root/cardio - ~/.ivy2:/root/.ivy2 - ~/.sbt:/root/.sbt stdin_open: true Choose the correct statement to describe the 'expose' command as used in the code.

Docker MCQs

For the following 'docker-compose.yml' fragment scala: build: ./scala expose: - 40000-50000 ports: - 9000:9000 - 4040:4040 links: - mongo volumes: - ../../:/root/cardio - ~/.ivy2:/root/.ivy2 - ~/.sbt:/root/.sbt stdin_open: true Choose the correct statement to describe the 'expose' command as used in the code.

Answer

Correct Answer: The 'expose' instruction indicates the ports on which a container will listen for connections

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Docker Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Docker Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it