Question

App Platform App Spec with Image

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?

Show comments

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Nick Tate
DigitalOcean Employee
DigitalOcean Employee badge
December 2, 2020
Accepted 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.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel