Difference between revisions of "Ecs-cli --help"

From wikieduonline
Jump to navigation Jump to search
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
 +
NAME:
 +
    [[ecs-cli]] - Command line interface for Amazon ECS
 +
 
<pre>
 
<pre>
NAME:
 
  ecs-cli - Command line interface for Amazon ECS
 
 
 
USAGE:
 
USAGE:
 
   ecs-cli [global options] command [command options] [arguments...]
 
   ecs-cli [global options] command [command options] [arguments...]
Line 12: Line 13:
 
AUTHOR:
 
AUTHOR:
 
   Amazon Web Services
 
   Amazon Web Services
 +
</pre>
  
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.
    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.
    push              Pushes an image to an Amazon ECR repository.
+
      [[ecs-cli push|push]]             Pushes an image to an Amazon ECR repository.
    pull              Pulls an image from an Amazon ECR repository.
+
      [[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           Executes docker-compose-style commands on an ECS cluster.
+
      [[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.
    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  
 +
<pre>
  
 
GLOBAL OPTIONS:
 
GLOBAL OPTIONS:
Line 35: 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 ==
 +
* {{ecs-cli}}
 
* {{AWS ECS}}
 
* {{AWS ECS}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

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]

Advertising: