Skip to main content

Deploying from a Docker Image

You can deploy an app to Hostim.dev using any public or private Docker image. This is the fastest way to run an existing container without a build step.

Requirements

  • A Docker image hosted on a registry like Docker Hub or GitHub Container Registry
  • The image must expose a default port (usually 80 or 3000)

How to deploy

  1. Go to your Hostim.dev dashboard
  2. Open your project and click Create Service -> New App.
  3. Give your App a name
  4. Choose Docker as in the Deployment Type field.
  5. Enter the full image name, for example: nginx:latest.
  6. (Optional) Provide username and password for private images.
  7. Select number of replicas and a plan.
  8. Click Create App.

Your app will start running within seconds.

Common use cases

  • Static sites or frontends
  • Custom web services or APIs
  • Background workers
  • Any service that runs in a container

Updating the app

When you restart an app, Hostim will check if there is a newer version of the image available.

  • If your app uses the latest tag (e.g. nginx:latest), Hostim will always pull the new image before restarting.
  • If you use a specific version tag (e.g. nginx:1.25 or my-app:v1), Hostim applies the "if not present" policy. It will not pull the image if it is already present on the server, even if you pushed a new image with the same tag to the registry.

To update an app with a specific tag (like v1), you should release a new tag (like v2) and update the image name in the app settings.

Next steps