Skip to content

Instantly share code, notes, and snippets.

@wakaba
Created September 18, 2015 06:56
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 wakaba/8fd4feb01661eccf8331 to your computer and use it in GitHub Desktop.
Save wakaba/8fd4feb01661eccf8331 to your computer and use it in GitHub Desktop.
...
{
"volumesFrom": [],
"portMappings": [],
"command": [],
"environment": [
{
"name": "apikey",
"value": "XXX"
}
],
"essential": false,
"entryPoint": [],
"links": [],
"mountPoints": [
{
"containerPath": "/var/run/docker.sock",
"sourceVolume": "var-run-docker-sock",
"readOnly": false
},
{
"containerPath": "/var/lib/mackerel-agent/",
"sourceVolume": "var-lib-mackerel-agent",
"readOnly": false
},
{
"containerPath": "/host/proc/mounts",
"sourceVolume": "proc-mounts",
"readOnly": true
},
{
"containerPath": "/host/sys/fs/cgroup",
"sourceVolume": "sys-fs-cgroup",
"readOnly": true
}
],
"memory": 4,
"name": "mackerel",
"cpu": 1,
"image": "mackerel/mackerel-agent"
}
],
"volumes": [
{
"host": {
"sourcePath": "/var/lib/mackerel-agent"
},
"name": "var-lib-mackerel-agent"
},
{
"host": {
"sourcePath": "/var/run/docker.sock"
},
"name": "var-run-docker-sock"
},
{
"host": {
"sourcePath": "/proc/mounts"
},
"name": "proc-mounts"
},
{
"host": {
"sourcePath": "/sys/fs/cgroup"
},
"name": "sys-fs-cgroup"
}
],
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment