Updating Docker Apps
xCloud manages Docker applications but doesn’t automatically update them. You’ll need to manually update your Docker apps using the Server Command Runner.
Prerequisites
Section titled “Prerequisites”- Access to your xCloud Server Dashboard
- The app must be deployed via Docker (most xCloud apps are)
Important: SSH Limitations
Section titled “Important: SSH Limitations”Docker commands (docker ps, docker exec, etc.) cannot be run via SSH on xCloud. The SSH user doesn’t have Docker socket permissions.
Instead, use the Server Dashboard → Management → Commands runner, which has the necessary permissions.
Update Process
Section titled “Update Process”Step 1: Access the Command Runner
Section titled “Step 1: Access the Command Runner”- Log into your xCloud dashboard
- Go to your Server Dashboard (not the site dashboard)
- Navigate to Management → Commands
Step 2: Find Your Container
Section titled “Step 2: Find Your Container”Run this command to see all running containers:
docker psNote your container name (e.g., openwebui-openweb.jbmdcreations.dev).
Step 3: Pull the Latest Image
Section titled “Step 3: Pull the Latest Image”For OpenWebUI:
docker pull ghcr.io/open-webui/open-webui:mainFor other apps, use their specific image (check the IMAGE column from docker ps).
Step 4: Restart with New Image
Section titled “Step 4: Restart with New Image”Navigate to your app’s directory and use docker compose:
cd /var/www/your-app-domain.com && docker compose up -dThis will:
- Stop the old container
- Remove it
- Create a new container with the updated image
- Preserve your data (stored in volumes)
Example: Updating OpenWebUI
Section titled “Example: Updating OpenWebUI”# Pull latest imagedocker pull ghcr.io/open-webui/open-webui:main
# Restart the containercd /var/www/openweb.jbmdcreations.dev && docker compose up -d- Use
docker compose(with a space), notdocker-compose(with hyphen) - Your data is preserved in Docker volumes
- Check your app after updating to ensure it’s working correctly