0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Heroku のコンテナへpushする時の注意 (メモ)

Posted at

Winodows 1p Pro (64bit)
Vagrant 2.2.14
Ubuntu 16.04.6 LTS
Docker 18.09.7
ruby:ruby 2.7.2p137
Herokuのコンテナへ
Dockerイメージをビルドしてコンテナレジストリにビルドしたイメージをプッシュする時に、
以下のエラーが発生した。


unauthorized: authentication required
Error: docker push exited with Error: 1

プッシュする前に
Heroku container:loginに最初にログインしないといけない。
ログインしてから
 sudo heroku container:push web -a アプリ名

実行したら無事完了しました。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?