$ cat docker-compose.yaml version: '2' services: etcd: cpu_shares: 102.4 entrypoint: /usr/local/bin/etcd -data-dir /var/etcd/data -listen-client-urls http://127.0.0.1:2379,http://127.0.0.1:4001 -advertise-client-urls http://127.0.0.1:2379,http://127.0.0.1:4001 -initial-cluster-token skydns-etcd image: gcr.io/google_containers/etcd-amd64:2.2.1 mem_limit: 524288000b healthz: command: -cmd=nslookup k