Skip to content
phluit.comGo to portal

How do I deploy a container from Docker Hub or ghcr.io?

Last verified 30 Nov 2026

Step by step: deploy a public Docker Hub or ghcr.io image as an Edge Container with Check image, the right port, a region, environment variables and an optional disk.

  1. In the portal, open Edge Containers (portal.phluit.com/containers) and click New container.
  2. Plan: choose one. Each card shows its disk (or No disk (stateless)) and how many copies it can run.
  3. Docker image: enter the image with its tag, for example nginx:1.27, you/app:v1 or ghcr.io/you/app:v1.
  4. Click Check image. We look the image up and, when the image says so:
    • fill in the port it listens on,
    • add its usual environment variables below,
    • suggest a disk folder on plans with a disk.
  5. Name: a name for the container, up to 40 characters (letters, digits, spaces, dots and dashes).
  6. Port the app listens on: check it. It’s the port inside the container, for example 80, 3000 or 8080.
  7. Region: pick the one closest to your visitors.
  8. Environment variables (optional): one per line, as NAME=value.
  9. Disk folder (optional, plans with a disk only): the folder inside the container that keeps its files, for example /data.
  10. Click Add to cart, then check out and pay.
  • Add a tag. We never guess latest. Without a tag, the check tells you which tags exist, for example nginx:latest.
  • “We couldn’t find … in a public registry” means the name or tag is wrong, or the image is private.
  • Private images: open a ticket and we connect your registry.

Your container is set up, usually within a few minutes. Until then, its page says it’s being set up. Then you find it under Edge Containers with its status (Running), its address and how much of its plan it used this month.

Open it (Manage) to see six tabs:

  • Overview: address, image, region, port, plan used this month, and Restart, Stop and Start.
  • Statistics: processor, memory, traffic and copies over time.
  • Logs: what your app writes to its output.
  • Deploy: run a new version of the image.
  • Settings: environment variables and the port.
  • Domains: connect your own domain.
  • “Failing to start” means the container stops right after it starts. Check that the image runs on its own, that the port matches the one it listens on, and that required variables are set on the Settings tab.
  • The disk folder is chosen when you deploy. Files there survive restarts and new versions. There are no automatic backups of the disk, so keep your own copy of important data.
  • Without a disk, a container starts fresh on every new version. Keep data in a database, for example a Phluit managed database, and connect it with a variable.
  • Next: How do I use my own domain with a container?

Was this helpful?