Skip to content

Instantly share code, notes, and snippets.

@tschutte
Created February 19, 2016 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tschutte/3cc9db05da951dea5af4 to your computer and use it in GitHub Desktop.
Save tschutte/3cc9db05da951dea5af4 to your computer and use it in GitHub Desktop.
ECS Task Definition
{
"requiresAttributes": [],
"taskDefinitionArn": "arn:aws:ecs:us-east-1:900941654131:task-definition/ecs-ami-test-DICOMECSTaskDefinition-6YHJX13VUW7S:3",
"status": "ACTIVE",
"revision": 3,
"containerDefinitions": [
{
"volumesFrom": [
{
"readOnly": true,
"sourceContainer": "HOST_CONTAINER"
}
],
"memory": 256,
"extraHosts": null,
"dnsServers": null,
"disableNetworking": null,
"dnsSearchDomains": null,
"portMappings": [],
"hostname": null,
"essential": false,
"entryPoint": [
"/opt/logs/entrypoint.sh"
],
"mountPoints": [],
"name": "LOG_CONTAINER",
"ulimits": null,
"dockerSecurityOptions": null,
"environment": [],
"links": [],
"workingDirectory": null,
"readonlyRootFilesystem": null,
"image": "centos:centos7",
"command": [],
"user": null,
"dockerLabels": null,
"logConfiguration": null,
"cpu": 1024,
"privileged": null
},
{
"volumesFrom": [],
"memory": 1024,
"extraHosts": null,
"dnsServers": null,
"disableNetworking": null,
"dnsSearchDomains": null,
"portMappings": [],
"hostname": null,
"essential": true,
"entryPoint": [],
"mountPoints": [],
"name": "HOST_CONTAINER",
"ulimits": null,
"dockerSecurityOptions": null,
"environment": [
{
"name": "IamANumberToTriggerServiceUpdates",
"value": "2"
}
],
"links": [],
"workingDirectory": null,
"readonlyRootFilesystem": null,
"image": "terrys/ecs_agent_2015.09.f_troubleshooting:latest",
"command": [],
"user": null,
"dockerLabels": null,
"logConfiguration": null,
"cpu": 1024,
"privileged": null
}
],
"volumes": [],
"family": "ecs-ami-test-DICOMECSTaskDefinition-6YHJX13VUW7S"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment