registoryにログインします
$ sudo docker login registry.gitlab.com
Login Succeeded
Dockerfile
FROM alpine:latest
### build
$ sudo docker build -t registry.gitlab.com/hpscript/docker .
$ sudo docker images;
registry.gitlab.com/hpscript/docker latest 9c842ac49a39 41 hours ago 5.57MB
$ sudo docker push registry.gitlab.com/hpscript/docker
なるほどー、なんか勉強になるな