Closed picatz closed 6 years ago
This is a nice example of how to use docker:
FROM centos:7
MAINTAINER The CentOS Project <cloud-ops@centos.org>
LABEL Vendor="CentOS" \
License=GPLv2 \
Version=2.4.6-40
RUN yum -y --setopt=tsflags=nodocs update && \
yum -y --setopt=tsflags=nodocs install httpd && \
yum clean all
EXPOSE 80
# Simple startup script to avoid some issues observed with container restart
ADD run-httpd.sh /run-httpd.sh
RUN chmod -v +x /run-httpd.sh
CMD ["/run-httpd.sh"]
You can find plenty of other Docker examples all over the internet: https://github.com/CentOS/CentOS-Dockerfiles
Will be using docker.
docker
is a possible option to run all of our services.