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?
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
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
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.