docker exec
docker exec -it ai-api zsh
ECS_CLUSTER=ai-app-prd-cluster TASK_ARN=$(aws ecs list-tasks --cluster ai-app-prd-cluster --query "taskArns[0]" --output text) CONTAINER_NAME=ai-api-prd aws ecs execute-command --cluster $ECS_CLUSTER \ --task $TASK_ARN \ --container $CONTAINER_NAME \ --interactive \ --command "zsh"
Was this page helpful?