Docker Quickstart
Deploy an existing container image as a compatible NexHost runtime service.
Docker Quickstart#
Choose an existing container image source when you already build and publish your application image. Image sources are available for Web Services, Private Services, Background Workers, and Cron Jobs—not Static Sites or Frontend Apps.
Select the service type first#
- Web Service: a public HTTP server.
- Private Service: an internal HTTP or application service.
- Background Worker: a persistent process without a public URL.
- Cron Job: a command that runs on a schedule and exits.
Configure the image#
- Start New Project and select the appropriate runtime service.
- Choose Existing image when it is offered as the source.
- Enter the image reference and required command settings.
- Add environment variables in the service configuration.
- For a public Web Service, configure an HTTP health path and ensure the container listens on the injected
PORT.
Use the deployment detail page to verify that image preparation, startup, and any health check complete successfully.