docker-archive / docker-registry

This is **DEPRECATED**! Please go to https://github.com/docker/distribution
Apache License 2.0
2.88k stars 879 forks source link

find something wrong to use the docker command:logout #1065

Open yiting1122 opened 8 years ago

yiting1122 commented 8 years ago

I find someting wrong,when i use docker client to push or pull。 First,i login into a registry "hub.c.163.com",i can push or pull images。 but when i am logout,some magical happen,i can use the "push" and "pull" cmd to handle the images 。

Detail Message (form ubuntu bash):

root@host-10-180-148-141:/# docker logout hub.c.163.com Not logged in to hub.c.163.com root@host-10-180-148-141:/# docker pull hub.c.163.com/yiting/ubuntu:yt yt: Pulling from hub.c.163.com/yiting/ubuntu 5549154b6b00: Pull complete dbcf09c742a7: Pull complete 40964da1bf47: Pull complete c29e52d44f69: Already exists Digest: sha256:09fcf27423a9dd1f31ececf11d3628f76b17f23a907a2e36c41e116102cf436a Status: Downloaded newer image for hub.c.163.com/yiting/ubuntu:yt root@host-10-180-148-141:/#

docker version

root@host-10-180-148-141:~# docker version Client version: 1.7.1 Client API version: 1.19 Go version (client): go1.4.2 Git commit (client): 786b29d OS/Arch (client): linux/amd64 Server version: 1.7.1 Server API version: 1.19 Go version (server): go1.4.2 Git commit (server): 786b29d OS/Arch (server): linux/amd64