Help us understand the problem. What is going on with this article?

Docker push がうまくいかない時の解決法

どういう状況だった?

docker image に user_name の指定ができていなかったため、dockerhubにpushできませんでした。

解決方法

user_nameを指定したのちpushすることで解決しました。

# USER_NAME を指定(紐付け)
% dokcer tag IMAGE_ID USER_NAME/REPOSITORY_NAME:TAG_NAME
# ホームページ指定のコマンドでpush
% docker push USER_NAME/REPOSITORY_NAME:TAG_NAME

参考

https://sleepless-se.net/2019/04/14/change-docker-image-and-tag-name/

KONTA2019
異業種からプログラミングスクールに入って勉強して、2020/06~サーバーサイドエンジニアをやっています。スクールでruby(rails)を学び、会社ではphp(laravel,Cakephp)/node.js/mysql(sql)/jenkins/docker/circleCI/Terraform/aws_aurora(db)/symetricDSを使っています。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした