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

Become a contributor for community

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

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.