Skip to content
Sharp

Microservice Architecture · interview question

What command is used to create a Docker image from a Dockerfile?

Multiple choiceEasychapter-18-curatedpremiummicroservice-architecturedocker-containerization
Choose one answer
Answer and explanation

Correct answer

B. Docker build

Why

The 'docker build' command is used to create a Docker image from a Dockerfile. It reads the instructions in the Dockerfile and constructs the image accordingly.

Test yourself on Microservice Architecture

A free test with instant, explained results. No account needed.

Start free test
All Microservice Architecture questions →