LoginSignup
0
1

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

参考

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