yc compute instance update-container
Update the specified virtual machine instance running Docker container
Command Usage
Syntax:
yc compute instance update-container <INSTANCE-NAME>|<INSTANCE-ID> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Instance id. |
|
|
Instance name. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
|
|
A list of arguments to append to container entrypoint. Overrides default container CMD |
|
|
Removes the list of arguments from container declaration. |
|
|
Executable to run when the container starts. Overrides default container ENTRYPOINT |
|
|
Removes command from container declaration. |
|
|
Declare environment variable KEY with value VALUE passed to container. Only the last value of KEY is taken when KEY is repeated more than once. |
|
|
Declare environment variables in a file. Values, declared with --container-env flag override those with the same KEY from file. |
|
|
Removes environment variable KEY from container declaration. |
|
|
Container image name. |
|
|
Container name. |
|
|
Specify whether to run container in privileged mode. |
|
|
Open container STDIN. |
|
|
Allocate a pseudo-TTY for the container. |
|
|
Specify whether to restart a container on exit. Must be one of: Always, Never, OnFailure. |
|
|
Add tmpfs-backed docker volume Possible property names:
|
|
|
Add docker volume bound to host path Possible property names:
|
|
|
Remove docker volume from container declaration by its name. Several names separated with comma can be provided. |
|
|
Remove all docker volumes from container declaration |
|
|
Docker compose file. |
|
|
Container optimized image YAML file. |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |