Docker over SSH (cloud VMs)
Use skill host-email-link-docker with target ssh.
Providers (VM + Docker)
| Provider | Typical image | SSH user | Notes |
|---|---|---|---|
| DigitalOcean Droplet | Ubuntu | root | Install Docker CE |
| Linode / Akamai | Ubuntu | root | Same |
| Hetzner Cloud | Ubuntu | root | Same |
| AWS EC2 | Ubuntu/Amazon Linux | ubuntu / ec2-user | Security group :80/:443/:8080 |
| Google Compute Engine | Ubuntu | custom | gcloud compute ssh |
| Azure VM | Ubuntu | azureuser | NSG ports |
Agent checklist
- Ensure Docker is installed on the remote (
curl -fsSL https://get.docker.com | shor distro packages) scp.env(never commit secrets)docker pull $DOCKERHUB_USERNAME/email-link-host:TAG- Run with
--restart unless-stopped -p 80:8080(or put Caddy/nginx TLS in front) - Open firewall for HTTP/HTTPS
- Verify
curl -sI https://YOUR_DOMAIN/.well-known/apple-app-site-associationreturnsContent-Type: application/json
Example remote run
ssh user@HOST "docker pull $DOCKERHUB_USERNAME/email-link-host:latest"
scp .env user@HOST:~/email-link.env
ssh user@HOST "docker run -d --name email-link-host --restart unless-stopped \
-p 8080:8080 --env-file ~/email-link.env \
$DOCKERHUB_USERNAME/email-link-host:latest"