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
- Go to your Hostim.dev dashboard
- Open your project and click Create Service -> New App.
- Give your App a name
- Choose Docker as in the Deployment Type field.
- Enter the full image name, for example:
nginx:latest. - (Optional) Provide username and password for private images.
- Select number of replicas and a plan.
- 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
latesttag (e.g.nginx:latest), Hostim will always pull the new image before restarting. - If you use a specific version tag (e.g.
nginx:1.25ormy-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.