Sign Up
Log In
Home
discussion
Exam 200-901 Question id=6211 Application Deployment and Security

Drag and drop the Docker file instructions from the left onto the correct descriptions on the right. Not all options are used.
Select and Place:

EXPOSE 1521
RUN apt-get update && apt-get install -y -force-yes apache2
VOLUME["/var/www","/var/log/apache2",""/etc/apache2]
FROM ubuntu:12.04
ENTRYPOINT["/usr/sbin/apache2ctl","-D","FOREGROUND"]
informs Docker that the container listens
on the specified network port(s) at runtime
EXPOSE 1521
creates a mount point with the specified name
RUN apt-get update && apt-get install -y -force-yes apache2
configuresa container that runs as an executable
VOLUME["/var/www","/var/log/apache2",""/etc/apache2]
must be the first instruction in the Docker file
FROM ubuntu:12.04