As you can see in the screenshot below, I am following the commands according to the heroku documentation to deploy Docker app. Yet I keep getting the response saying

No Images to push

enter image description here

I am a heroku newbie, so please help me to find out what I have done wrong!


add -a to your heroku command

  • you can see that i have put "--app" to the command, are they not same ? adding -a to the command gives the following error. › Error: Flag --app expects a value Dec 12 '18 at 8:06

You have to specify the docker image name that you are pushing. i.e. ~/heroku/bin/heroku container:push web --app code--tube

note: if your project isn't a web application then give the docker image the correct process type, i.e. (web, worker, image, etc)

As a side note, it isn't a good idea to give read, write, execute permissions to all users. You should only give permissions to those who need it. Giving too many permissions can also cause problems in some applications or files that will make things stop working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.