#推送镜像
#用户登录后,可以通过 docker push 命令将自己的镜像推送到 Docker Hub。
#以下命令中的 username 请替换为你的 Docker 账号用户名。
docker tag ubuntu:18.04 username/ubuntu:18.04
docker image ls
#dockerfile
===============================================================
FROM centos
WORKDIR /root
COPY LNMP56 /root/LNMP56/
RUN cd /root/LNMP56/ && ./one.sh && echo 'This is docker test. by Tingo' > /root/index.html
===============================================================