I am currently trying to deploy a existing container image to app platform

I created a repository with nothing but the file .do/app.yaml, contents:

name: sample-metabase
services:
- name: metabase-app
  image:
    registry_type: "UNSPECIFIED"
    registry: "hub.docker.com"
    repository: "metabase/metabase"
    tag: "v0.37.2"
  instance_size_slug: "basic-xxs"
  instance_count: 1
  http_port: 3000
  routes:
  - path: /

From my, limited, understanding this should work. However app platform tells me “We’re sorry, but we weren’t able to detect anything that the App Platform can currently run in the repository you selected. Please try a different repository.” - What am I missing?

1 comment
  • It appears that ‘app create’ for Dockerhub images is still not working.
    The problem seems to be with the tag, as I can modify the 'repository’ value to confirm DO is querying Dockerhub.

    But, seems impossible to create an App, as I always get this error: “Image tag not found” Doesn’t seem to matter what value I use for the tag.
    This shouldn’t be so difficult to create a DO App from Dockerhub image.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Currently, only DigitalOcean Container Registries (DOCR) registries are supported as an image source type. If you were to upload your metabase:v0.37.2 to your DOCR registry, you could reference it as follows:

name: sample-metabase
services:
- name: metabase-app
  image:
    registry_type: "DOCR"
    repository: "metabase"
    tag: "v0.37.2"
  instance_size_slug: "basic-xxs"
  instance_count: 1
  http_port: 3000
  routes:
  - path: /

We automatically infer the registry associated with your account and handle credential management.

Public Dockerhub image support is on the roadmap and will be available in the near future. Additionally, I will open up an internal support ticket to better handle the failure messaging in this case to make it more clear.