Mais conteúdo relacionado
Semelhante a Docker 1.10 1.11 (20)
Docker 1.10 1.11
- 19. OS distro (Host)
Linux distro (VM)
OS
Kernel
Hardware
Hypervisor (type 2)
Linux
Kernel
Hardware
Application
Virtual Machine
Linux distro (Host)
Files (Docker)
Linux
Kernel
Hardware
Docker Engine
[Application]
Docker
- 23. Linux distro (Host)
Dockerfile:
FROM ubuntu
Ubuntu
NGiNXRUN
add-apt-repository -y ppa:nginx/stable &&
apt-get update &&
apt-get install -y nginx
Config file
COPY env.conf /home/git/
RUN ln -fs /home/git/env.conf /etc/nginx/nginx.conf
EXPOSE 80
EXPOSE 443
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["nginx"]