Created
June 3, 2019 20:07
-
-
Save daxmc99/b612260e57bf7d36ba48a9948281ca7d to your computer and use it in GitHub Desktop.
Access etcd on docker for mac
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 exec -it <$ etcd container id> sh | |
ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --key=/run/config/pki/etcd/peer.key --cert=/run/config/pki/etcd/peer.crt --cacert=/run/config/pki/etcd/ca.crt get / --prefix --keys-only |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment