docker run -d --name uptime-kuma -p 127.0.0.1:3001:3001 -v uptime-kuma-data:/app/data louislam/uptime-kuma:2
Run Uptime Kuma bound to localhost only
Same as the default run but binds the web UI to 127.0.0.1, so only the local machine can reach port 3001. Pair it with a reverse proxy like Caddy or nginx to serve Kuma over HTTPS. The monitor data volume and image tag :2 are unchanged.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.