Difference between revisions of "Ecs-cli --help"
Jump to navigation
Jump to search
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | |||
+ | NAME: | ||
+ | [[ecs-cli]] - Command line interface for Amazon ECS | ||
+ | |||
<pre> | <pre> | ||
− | |||
− | |||
− | |||
USAGE: | USAGE: | ||
ecs-cli [global options] command [command options] [arguments...] | ecs-cli [global options] command [command options] [arguments...] | ||
Line 15: | Line 16: | ||
COMMANDS: | COMMANDS: | ||
− | configure Stores a single cluster configuration. | + | [[ecs-cli configure|configure]] Stores a single cluster configuration. |
− | up Creates the ECS cluster (if it does not already exist) and the AWS resources required to set up the cluster. | + | [[ecs-cli up|up]] Creates the ECS cluster (if it does not already exist) and the AWS resources required to set up the cluster. |
− | down Deletes the CloudFormation stack that was created by ecs-cli up and the associated resources. | + | [[ecs-cli down|down]] Deletes the CloudFormation stack that was created by ecs-cli up and the associated resources. |
− | scale Modifies the number of container instances in your cluster. This command changes the desired and maximum instance count in the Auto Scaling group created by the ecs-cli up command. You can use this command to scale up (increase the number of instances) or scale down (decrease the number of instances) your cluster. | + | [[ecs-cli scale|scale]] Modifies the number of container instances in your cluster. This command changes the desired and maximum instance count in the Auto Scaling group created by the ecs-cli up command. You can use this command to scale up (increase the number of instances) or scale down (decrease the number of instances) your cluster. |
[[ecs-cli ps|ps]] Lists all of the running containers in your ECS cluster. | [[ecs-cli ps|ps]] Lists all of the running containers in your ECS cluster. | ||
− | [[ecs-cli | + | [[ecs-cli push|push]] Pushes an image to an Amazon ECR repository. |
− | [[ecs-cli | + | [[ecs-cli pull|pull]] Pulls an image from an Amazon ECR repository. |
− | images Lists images from an Amazon ECR repository. Lists all images in all repositories by default. | + | [[ecs-cli images|images]] Lists images from an Amazon ECR repository. Lists all images in all repositories by default. |
− | license Prints the LICENSE files for the ECS CLI and its dependencies. | + | [[ecs-cli license|license]] Prints the LICENSE files for the ECS CLI and its dependencies. |
− | compose | + | [[ecs-cli compose|compose]] Executes docker-compose-style commands on an ECS cluster. |
check-attributes Checks if a given list of container instances can run a given task definition by checking their attributes. Outputs attributes that are required by the task definition but not present on the container instances. | check-attributes Checks if a given list of container instances can run a given task definition by checking their attributes. Outputs attributes that are required by the task definition but not present on the container instances. | ||
[[ecs-list logs|logs]] Retrieves container logs from CloudWatch logs. Assumes your Task Definition uses the awslogs driver and has a log stream prefix specified. | [[ecs-list logs|logs]] Retrieves container logs from CloudWatch logs. Assumes your Task Definition uses the awslogs driver and has a log stream prefix specified. | ||
− | registry-creds Facilitates the creation and use of private registry credentials within ECS. | + | [[ecs-cli registry-creds|registry-creds]] Facilitates the creation and use of private registry credentials within ECS. |
local Runs your ECS tasks locally. | local Runs your ECS tasks locally. | ||
help, h Shows a list of commands or help for one command | help, h Shows a list of commands or help for one command | ||
Line 37: | Line 38: | ||
--version, -v print the version | --version, -v print the version | ||
</pre> | </pre> | ||
+ | |||
+ | == Related == | ||
+ | [[ecs-cli up --help]] | ||
+ | |||
+ | [[ecs-cli compose --help]] | ||
== See also == | == See also == |
Latest revision as of 15:59, 12 May 2022
NAME: ecs-cli - Command line interface for Amazon ECS
USAGE: ecs-cli [global options] command [command options] [arguments...] VERSION: 1.21.0 (*UNKNOWN) AUTHOR: Amazon Web Services
COMMANDS: configure Stores a single cluster configuration. up Creates the ECS cluster (if it does not already exist) and the AWS resources required to set up the cluster. down Deletes the CloudFormation stack that was created by ecs-cli up and the associated resources. scale Modifies the number of container instances in your cluster. This command changes the desired and maximum instance count in the Auto Scaling group created by the ecs-cli up command. You can use this command to scale up (increase the number of instances) or scale down (decrease the number of instances) your cluster. ps Lists all of the running containers in your ECS cluster. push Pushes an image to an Amazon ECR repository. pull Pulls an image from an Amazon ECR repository. images Lists images from an Amazon ECR repository. Lists all images in all repositories by default. license Prints the LICENSE files for the ECS CLI and its dependencies. compose Executes docker-compose-style commands on an ECS cluster. check-attributes Checks if a given list of container instances can run a given task definition by checking their attributes. Outputs attributes that are required by the task definition but not present on the container instances. logs Retrieves container logs from CloudWatch logs. Assumes your Task Definition uses the awslogs driver and has a log stream prefix specified. registry-creds Facilitates the creation and use of private registry credentials within ECS. local Runs your ECS tasks locally. help, h Shows a list of commands or help for one command
GLOBAL OPTIONS: --endpoint value Use a custom endpoint with the ECS CLI --help, -h show help --version, -v print the version
Related[edit]
ecs-cli up --help
ecs-cli compose --help
See also[edit]
ecs-cli
: [ps
|push
|pull
|images
|license
|logs
|configure
|up
|down
|registry-creds
|compose
|scale
|--help
]- Amazon ECS, Service, Tasks (Task overview), capacity providers, Cluster Auto Scaling (CAS),
aws ecs, ecs-cli, ~/.ecs/config
, AWS Copilot, AWS Fargate, AWS CloudWatch Container Insights,/etc/ecs/ecs.config
, Security group (SG), container agent, task definition, Amazon ECS events, best practices, Amazon ECS Exec Checker, Amazon ECS Agent, Service Connect,AWSServiceRoleForECS
, Terraform ECS, AWS ECS Rolling deployments
Advertising: