Created
September 18, 2015 04:10
-
-
Save tuzzeg/e09f1ed836f7bf6cd07c 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
# docker run --net=host -d gcr.io/google_containers/etcd:2.0.9 /usr/local/bin/etcd --addr=127.0.0.1:4001 --bind-addr=0.0.0.0:4001 --data-dir=/var/etcd/data | |
etcd: | |
image: gcr.io/google_containers/etcd:2.0.9 | |
net: host | |
command: ['/usr/local/bin/etcd', '--addr=127.0.0.1:4001', '--bind-addr=0.0.0.0:4001', '--data-dir=/var/etcd/data'] | |
# docker run --net=host -d -v /var/run/docker.sock:/var/run/docker.sock gcr.io/google_containers/hyperkube:v0.21.2 /hyperkube kubelet --api_servers=http://localhost:8080 --v=2 --address=0.0.0.0 --enable_server --hostname_override=127.0.0.1 --config=/etc/kubernetes/manifests | |
kubelet: | |
image: gcr.io/google_containers/hyperkube:v0.21.2 | |
net: host | |
command: ['/hyperkube', 'kubelet', '--api_servers=http://localhost:8080', '--v=2', '--address=0.0.0.0', '--enable_server', '--hostname_override=127.0.0.1', '--config=/etc/kubernetes/manifests'] | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
# docker run -d --net=host --privileged gcr.io/google_containers/hyperkube:v0.21.2 /hyperkube proxy --master=http://127.0.0.1:8080 --v=2 | |
proxy: | |
image: gcr.io/google_containers/hyperkube:v0.21.2 | |
net: host | |
command: ['/hyperkube', 'proxy', '--master=http://127.0.0.1:8080', '--v=2'] | |
privileged: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
okay.but help me first