Docker hub

来自linux中国网wiki
跳到导航 跳到搜索
https://hub.docker.com/

docker login

信息保存
 cat ~/.docker/config.json 
{
	"auths": {
		"https://index.docker.io/v1/": {
			"auth": "ZXZhbjg4NjpldmFuMjI0MDg4MQ=="
		}
	},
	"HttpHeaders": {
		"User-Agent": "Docker-Client/18.03.0-ce (linux)"
	}


push
docker push evan886/centos-mysql:v1

创建注册服务器


https://github.com/docker/docker-registry

docker pull registry

p47