Difference between revisions of "Aws ecs execute-command"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} * {{aws ecs}}")
 
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/execute-command.html
  
 +
[[aws ecs]] execute-command \
 +
--region $REGION \
 +
--cluster [[$CLUSTER_NAME]] \
 +
--task [[$TASKID]] \
 +
--container [[$CONTAINER_NAME]] \
 +
--command "/bin/sh" \
 +
--interactive
  
 +
== Related ==
 +
* <code>[[aws ecs list-clusters]]</code>
 +
* <code>[[aws ecs list-tasks]]</code>
 +
* <code>[[aws ecs list-container-instances]]</code>
 +
* <code>[[ecsInstanceRole]]</code>
 +
* [[Fargate]]
 +
* [[Using Amazon ECS Exec to access your containers on AWS Fargate and Amazon EC2]]
 +
* <code>[[docker exec]]</code>
  
 +
== See also ==
 
* {{aws ecs}}
 
* {{aws ecs}}
 +
 +
[[Category:AWS]]

Latest revision as of 10:29, 17 January 2024

Advertising: