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