I want to deploy an existing Docker image to Heroku, where there is no Dockerfile in the local directory. (I created the Docker foo:bar image using datasette, and I don't know where it puts the Docker image).
These are the Docker images I have available:
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
foo bar d41xxxc69862 About an hour ago 1.08GB
<none> <none> af079eb9ceda About an hour ago 980MB
I want to deploy the first docker image (foo:bar) to Heroku.
I have tried doing heroku create my-app-12355, then:
heroku container:push web -a my-app-12355
But this gives me:
▸ No images to push
How do I specify the name of the image? I think the section on "Building and pushing images" in the documentation is what I need, but I don't understand what "app" and "process-type" should be.
UPDATE: I tried:
docker tag d41xxxc69862 registry.heroku.com/my-app-12355/web
docker push registry.heroku.com/my-app-12355/web
But when I do heroku container:push web -a my-app-12355 I still get No images to push. How do I tell it where the image is?