run-help.golden 1.4 KB

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