Created
June 4, 2019 21:12
-
-
Save Wicaeed/68ae01f237ea21507e3630b83e6ded90 to your computer and use it in GitHub Desktop.
fucking docker
This file contains hidden or 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
| alias calicoctl="\ | |
| docker run -i --rm \ | |
| --pid host \ | |
| --net host \ | |
| -e constraint:ostype==linux \ | |
| -e ETCD_ENDPOINTS=127.0.0.1:12378 \ | |
| -e ETCD_KEY_FILE=/ucp-node-certs/key.pem \ | |
| -e ETCD_CA_CERT_FILE=/ucp-node-certs/ca.pem \ | |
| -e ETCD_CERT_FILE=/ucp-node-certs/cert.pem \ | |
| -v /var/run/calico:/var/run/calico \ | |
| -v ucp-node-certs:/ucp-node-certs:ro \ | |
| docker/ucp-dsinfo:${UCP_VERSION} \ | |
| calicoctl \ | |
| " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment