CmdID / az / az container / az container container-group-profile
az container container-group-profile create
Create a container group profile. Azure CLI reference
41 options Its page in the Azure CLI reference
Options
Show its 41 options
--acr-identityThe identity with access to the container registry--add-capabilitiesA List of security context capabilities to be added--allow-escalationAllow whether a process can gain more privileges than its parent process.--azure-file-volume-account-keyThe storage account access key used to access the Azure File share--azure-file-volume-account-nameThe name of the storage account that contains the Azure File share--azure-file-volume-mount-pathThe path within the container where the azure file volume should be mounted.--azure-file-volume-share-nameThe name of the Azure File share to be mounted as a volume--cce-policyThe CCE policy for the confidential container group--command-lineThe command line to run when the container is started, e.g. '/bin/bash -c myscript.sh'--config-mapA list of config map key-value pairs for the container.--cpuThe required number of CPU cores of the containers, accurate to one decimal place--drop-capabilitiesA List of security context capabilities to be dropped--environment-variables, -eA list of environment variable for the container.--file, -fThe path to the input file.--gitrepo-dirThe target directory path in the git repository.--gitrepo-mount-pathThe path within the container where the git repo volume should be mounted.--gitrepo-revisionThe commit hash for the specified revision--gitrepo-urlThe URL of a git repository to be mounted as a volume--imageThe container image name--ip-addressThe IP address type of the container group--location, -lLocation.--log-analytics-workspace-keyThe Log Analytics workspace key.--log-analytics-workspaceThe Log Analytics workspace name or id.--memoryThe required memory of the containers in GB, accurate to one decimal place--os-typeThe OS type of the containers--portsA list of ports to open.--priorityThe priority of the container group--privilegedThe flag to determine if the container permissions is elevated to Privileged--protocolThe network protocol to use--registry-login-serverThe container image registry login server--registry-passwordThe password to log in container image registry server--registry-usernameThe username to log in container image registry server--restart-policyRestart policy for all containers within the container group--run-as-groupSet the User UID for the container--run-as-userSet the User GID for the container--seccomp-profileA base64 encoded string containing the contents of the JSON in the seccomp profile--secrets-mount-pathThe path within the container where the secrets volume should be mounted.--secretsspace-separated secrets in 'key=value' format.--secure-environment-variablesA list of secure environment variable for the container.--skuThe SKU of the container group--zoneThe zone to place the container group.