Run your first application
Create a Deployment and open a simple website.
A Deployment runs one container from an image. You need an online Docker Standalone Platform; connect one using connect a Docker host.
Create and deploy
- Open Deployments and select Add Deployment.
- Name it
hello-weband select your Platform. - Choose External under Image Source, select Docker Hub, and enter
nginx:alpine. - Under Networks, select
bridge. - In the Ports editor, enter
8080:80/tcpto publish host port8080to container port80. Choose another host port if8080is in use. - Select Save, then Deploy. Enter
hello-webin the confirmation dialog, select Deploy, and wait for the operation to finish. - Open
http://YOUR-DOCKER-HOST:8080. For a local host, use http://localhost:8080.
Success looks like: the container is running and the browser shows the
Nginx welcome page. The host firewall determines who can reach port 8080.
View logs or change the application
Open the Deployment to view its container, logs, and configuration. Saving a change updates Citadel's settings. Select Deploy or Redeploy to send the reviewed configuration to Docker; this can recreate the container.
If deployment fails, read the error in the operation panel before retrying. A port already in use or an image pull failure are common causes.
For persistent data, image updates, and existing containers, see the Deployment guide. Use a Stack for an application with several services.