docker build -t xbf/hello_nginxinvalid argument "xbf/hello_nginx." for t: Error parsing reference: "xbf/hello_nginx." is not a valid repository/tag: invalid reference formatSee 'docker build --help'.我的脚本如下FROM ubuntuMAINTAINER xbfRUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.listRUN apt-get updateRUN apt-get install -y nginxCOPY index.html /var/www/htmlENTRYPOINT ["/usr/sbin/nginx","-g","daemon off:"]EXPOSE 80不知道到底哪有问题
3 回答
- 3 回答
- 0 关注
- 5474 浏览
添加回答
举报
0/150
提交
取消