docker上传镜像报错
2016-06-21 00:00
441 查看
执行指令:docker push chrisforbt/centos7:v1,docker报了如下的错
Do you really want to push to public registry? [y/n]: y
The push refers to a repository [docker.io/chrisforbt/centos7] (len: 1)
4862d8a7f28c: Preparing
unauthorized: authentication required
解决方法:
Change the file which has the login credentials stored the
to - Note the change from docker.io -> index.docker.io/v1. That is the change.
如上设置解决了我的问题,原帖地址为:http://stackoverflow.com/questions/36663742/docker-unauthorized-authentication-required-upon-push-with-successful-login
Do you really want to push to public registry? [y/n]: y
The push refers to a repository [docker.io/chrisforbt/centos7] (len: 1)
4862d8a7f28c: Preparing
unauthorized: authentication required
解决方法:
Change the file which has the login credentials stored the
~/.docker/config.jsonfrom the default generated of
{ "auths": { "docker.io": { "auth": "XXXXXXXXXXXXX", "email": "x.y@gmail.com" } } }
to - Note the change from docker.io -> index.docker.io/v1. That is the change.
{ "auths": { "https://index.docker.io/v1/": { "auth": "XXXXXXXXXXXXX", "email": "x.y@gmail.com" } } }
如上设置解决了我的问题,原帖地址为:http://stackoverflow.com/questions/36663742/docker-unauthorized-authentication-required-upon-push-with-successful-login
相关文章推荐
- Docker实战(十四):Docker安装Hadoop环境
- Docker容器引擎安装和适配器之间的恩怨纠缠
- [Docker]Docker简介
- 制作ubuntu完整版docker镜像
- Docker在PHP项目开发环境中的应用
- docker-batman
- Dockerfile文件
- swarmkit rest api包
- 有容云:实战总结之 利用Docker、Docker Compose &Rancher构建持续部署
- 使用docker安装部署Spark集群来训练CNN(含Python实例)
- 使用docker安装部署Spark集群来训练CNN(含Python实例)
- docker安装
- docker安装
- 使用 Docker 搭建 Java Web 运行环境
- 使用docker打造spark集群
- 使用docker打造spark集群
- 基于 docker 的 UI 自动化测试实践
- Kolla让OpenStack与Docker相融合 openstack docker kolla
- ubuntu安装docker
- Docker中容器的备份、恢复和迁移