Login
Remember
Register
Ask a Question
How to create Docker images?
0
votes
asked
Jan 24, 2024
in
Docker
by
AdilsonLima
How to create Docker images?
docker-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 24, 2024
by
AdilsonLima
The following are the two ways of creating Docker images:
The first one is to pull an image directly from any Docker registry using the Docker pull command. We need to be logged in through the command line to do so.
The second one is to create customized Docker images by specifying instructions inside a Dockerfile and then use the Docker build command to create the Image.
...