Created
October 22, 2019 18:30
-
-
Save fenxiong/90a9407a069364ae9d249ece2e0c9817 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ipcMode": null, | |
"executionRoleArn": null, | |
"containerDefinitions": [ | |
{ | |
"dnsSearchDomains": [], | |
"logConfiguration": null, | |
"entryPoint": [], | |
"portMappings": [ | |
{ | |
"hostPort": 8080, | |
"protocol": "tcp", | |
"containerPort": 8080 | |
} | |
], | |
"command": [], | |
"linuxParameters": null, | |
"cpu": 128, | |
"environment": [], | |
"resourceRequirements": null, | |
"ulimits": [], | |
"dnsServers": [], | |
"mountPoints": [ | |
{ | |
"readOnly": true, | |
"containerPath": "/rootfs", | |
"sourceVolume": "vol1" | |
}, | |
{ | |
"readOnly": true, | |
"containerPath": "/var/run", | |
"sourceVolume": "vol2" | |
}, | |
{ | |
"readOnly": true, | |
"containerPath": "/sys", | |
"sourceVolume": "vol3" | |
}, | |
{ | |
"readOnly": true, | |
"containerPath": "/var/lib/docker", | |
"sourceVolume": "vol4" | |
}, | |
{ | |
"readOnly": true, | |
"containerPath": "/dev/disk", | |
"sourceVolume": "vol5" | |
} | |
], | |
"workingDirectory": null, | |
"secrets": [], | |
"dockerSecurityOptions": [], | |
"memory": null, | |
"memoryReservation": 512, | |
"volumesFrom": [], | |
"stopTimeout": null, | |
"image": "google/cadvisor:v0.33.0", | |
"startTimeout": null, | |
"firelensConfiguration": null, | |
"dependsOn": null, | |
"disableNetworking": null, | |
"interactive": null, | |
"healthCheck": null, | |
"essential": true, | |
"links": [], | |
"hostname": null, | |
"extraHosts": [], | |
"pseudoTerminal": null, | |
"user": null, | |
"readonlyRootFilesystem": null, | |
"dockerLabels": {}, | |
"systemControls": [], | |
"privileged": true, | |
"name": "cad" | |
} | |
], | |
"placementConstraints": [], | |
"memory": null, | |
"taskRoleArn": null, | |
"compatibilities": [ | |
"EC2" | |
], | |
"taskDefinitionArn": "arn:aws:ecs:us-west-2:1234567890:task-definition/test-cadvisor:7", | |
"family": "test-cadvisor", | |
"requiresAttributes": [ | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "com.amazonaws.ecs.capability.privileged-container" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.17" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.21" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18" | |
} | |
], | |
"pidMode": null, | |
"requiresCompatibilities": [], | |
"networkMode": null, | |
"cpu": null, | |
"revision": 7, | |
"status": "ACTIVE", | |
"inferenceAccelerators": null, | |
"proxyConfiguration": null, | |
"volumes": [ | |
{ | |
"name": "vol1", | |
"host": { | |
"sourcePath": "/" | |
}, | |
"dockerVolumeConfiguration": null | |
}, | |
{ | |
"name": "vol2", | |
"host": { | |
"sourcePath": "/var/run" | |
}, | |
"dockerVolumeConfiguration": null | |
}, | |
{ | |
"name": "vol3", | |
"host": { | |
"sourcePath": "/sys" | |
}, | |
"dockerVolumeConfiguration": null | |
}, | |
{ | |
"name": "vol4", | |
"host": { | |
"sourcePath": "/var/lib/docker" | |
}, | |
"dockerVolumeConfiguration": null | |
}, | |
{ | |
"name": "vol5", | |
"host": { | |
"sourcePath": "/dev/disk" | |
}, | |
"dockerVolumeConfiguration": null | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment