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
|
|