Skip to content

Instantly share code, notes, and snippets.

@daxmc99
Created June 3, 2019 20:07
Show Gist options
  • Save daxmc99/b612260e57bf7d36ba48a9948281ca7d to your computer and use it in GitHub Desktop.
Save daxmc99/b612260e57bf7d36ba48a9948281ca7d to your computer and use it in GitHub Desktop.
Access etcd on docker for mac
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