XK0-005 · Question #654
XK0-005 Question #654: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #654. The question stem and answer options stay visible for context.
Question
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?
Options
- Adocker build -t myimage:1.0 .
- Bdocker build -t myimage: .
- Cdocker build -t myimage-1.0 .
- Ddocker build -i myimage:1.0 .
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.