- login
core@localhost ~ $ docker login
Username: kagyuu
Password:
Email: kagyuu@hondou.homedns.org
Login Succeeded
- イメージ に ${ユーザ名}/コンテナ名 の tag をつける
core@localhost ~ $ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
atsushi/memcached latest 7d79dbd1a617 46 hours ago 367.8 MB
...
core@localhost ~ $ docker tag 7d79 kagyuu/memcached
core@localhost ~ $ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
atsushi/memcached latest 7d79dbd1a617 46 hours ago 367.8 MB
kagyuu/memcached latest 7d79dbd1a617 46 hours ago 367.8 MB
...
- push
core@localhost ~ $ docker push kagyuu/memcached
The push refers to a repository [kagyuu/memcached] (len: 1)
Sending image list
Pushing repository kagyuu/memcached (1 tags)
511136ea3c5a: Image already pushed, skipping
af82eb377801: Image already pushed, skipping
...
7d79dbd1a617: Image successfully pushed
Pushing tag for rev [7d79dbd1a617] on {https://cdn-registry-1.docker.io/v1/repositories/kagyuu/memcached/tags/latest}
core@localhost ~ $ docker search kagyuu
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
kagyuu/memcached 0