List of questions
Related questions
Question 239 - XK0-005 discussion
An application developer received a file with the following content:
##This is a sample Image ##
FROM ubuntu:18.04
MAINTAINER [email protected]
COPY . /app
RUN make /app
CMD python /app/app.py
RUN apt-get update
RUN apt-get install -y nginx
CMD ['echo','Image created']
The developer must use this information to create a test bed environment and identify the image (myimage) as the first version for testing a new application before moving it to production. Which of the following commands will accomplish this task?
A.
docker build -t myimage:1.0 .
B.
docker build -t myimage: .
C.
docker build -t myimage-1.0 .
D.
docker build -i myimage:1.0 .
Your answer:
0 comments
Sorted by
Leave a comment first