Skip to Content
CLI reference

CLI reference

Run your containers on EU servers in seconds ✨ Usage: @uncloud/run [flags] Examples: npx @uncloud/run # Run this next to any Dockerfile npx @uncloud/run -n backend # Set a --name to enable internal service calls Ñ la http://backend:80 Flags: -c, --config string Path to config file (optional) --context string Build context directory (defaults to current directory) -e, --env string Envfile to use (default ".env") -f, --file string Dockerfile to run (default "Dockerfile") -h, --help help for @uncloud/run --internal Run as internal service (no ingress URL, only accessible within cluster) -n, --name string App name for service discovery (defaults to auto-generated name) -p, --port int Container port to expose internally (default 80)

See our guides for inspiration on how to use these!