All docs

docs

Deploy a Docker image

The shortest path from an image to a running container on your own server.

Choose the image

Any reference Docker understands works: nginx:1.27, ghcr.io/owner/app:1.4.2, registry.example.com/team/api:latest.

Public images need no credentials. Private registries are a Pro feature; the login is performed on your server over the SSH connection and the credential is stored there, encrypted — it never passes through our backend.

Set ports and environment

  1. 01Map the container port to a host port, or leave it unpublished if a reverse proxy will reach it over a Docker network.
  2. 02Add environment variables. Values you mark as secret are encrypted on the server rather than written into the container definition in clear text.
  3. 03Attach volumes if the application keeps state.
  4. 04Press Deploy.

What happens on the server

MihraOps pulls the image, creates the container with the options you set, starts it and follows its state. Pull progress and container logs stream into the app while it happens.

If the image defines a health check, the container is not considered ready until Docker reports it healthy.

Publishing it on a domain

A container reachable only on a host port is fine for internal tools. To serve it on a domain with HTTPS, bind a domain to it — MihraOps configures the reverse proxy and certificates for you.

Related guides