Docker does not display port mapping?

  docker, question

Then they are all input according to an example on the internet.
dockerfile:
FROM ubuntu:14.04
MAINTAINER Chris Chan “chenx1242@163.com”
ENV REFRESHED_AT 2016-12-05
RUN apt-get -y update && apt-get install -y nginx
RUN mkdir -p /var/www/html/website
ADD nginx/global.conf /etc/nginx/conf.d/
ADD nginx/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
图片描述

clipboard.png

Docker container did not start successfully, add at the end of DockerfileCMD ["nginx", "-g", "daemon off;" ]Try