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 1 year has passed since last update.

HerokuにDockerコンテナpush時に「Error: docker push exited with Error: 1」というエラー

Posted at

##背景

HerokuにDockerコンテナを以下ターミナルコマンドでpushしようとしたところ、後述するエラーに直面した。

heroku container:push web

##エラー文

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

##解決策

以下コマンドでコンテナにログインした上で最初のコマンドを実行したら、無事にpushが完了した。

heroku container:login

##追記
pushが完了したら、下記コマンドでリリースをしよう。

heroku container:release web

リリースが完了したら、下記コマンドでアプリを開いてみよう。

heroku open

##参考
https://zenn.dev/masa20210102/articles/e602a155ff7bf0

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?