Skip to content

Instantly share code, notes, and snippets.

@marcelmaatkamp
Last active August 29, 2015 14:15
Show Gist options
  • Save marcelmaatkamp/faf117140de8c72642e7 to your computer and use it in GitHub Desktop.
Save marcelmaatkamp/faf117140de8c72642e7 to your computer and use it in GitHub Desktop.
{
"container": {
"type": "DOCKER",
"docker": {
"image": "google/cadvisor:latest"
},
"volumes": [
{
"containerPath": "/rootfs",
"hostPath": "/",
"mode": "RO"
},
{
"containerPath": "/var/run",
"hostPath": "/var/run",
"mode": "RW"
},
{
"containerPath": "/sys",
"hostPath": "/sys",
"mode": "RO"
},
{
"containerPath": "/var/lib/docker",
"hostPath": "/var/lib/docker",
"mode": "RO"
},
{
"containerPath": "/cgroup",
"hostPath": "/cgroup",
"mode": "RO"
}
],
"network": "BRIDGE",
"portMappings": [
{ "containerPort": "0.0.0.0:8080", "hostPort": "0.0.0.0:8080", "protocol": "tcp" }
]
},
"id": "cadvisor",
"instances": 1,
"cpus": 0.5,
"mem": 512,
"constraints": [
[
"hostname",
"UNIQUE"
]
],
"ports": [
8081
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment