| 12345678910111213141516171819202122 |
- Run a container
- Usage:
- run [flags]
- Flags:
- --cpus float Number of CPUs (default 1)
- -d, --detach Run container in background and print container ID
- --domainname string Container NIS domain name
- -e, --env stringArray Set environment variables
- --env-file stringArray Path to environment files to be translated as environment variables
- --health-cmd string Command to run to check health
- --health-interval duration Time between running the check (ms|s|m|h) (default 0s)
- --health-retries int Consecutive failures needed to report unhealthy (default 10)
- --health-start-period duration Start period for the container to initialize before starting health-retries countdown (ms|s|m|h) (default 0s)
- --health-timeout duration Maximum time to allow one check to run (ms|s|m|h) (default 0s)
- -l, --label stringArray Set meta data on a container
- -m, --memory bytes Memory limit
- --name string Assign a name to the container
- -p, --publish stringArray Publish a container's port(s). [HOST_PORT:]CONTAINER_PORT
- --restart string Restart policy to apply when a container exits (no|always|on-failure) (default "no")
- -v, --volume stringArray Volume. Ex: storageaccount/my_share[:/absolute/path/to/target][:ro]
|