Created
December 5, 2019 04:37
-
-
Save nguyendat/d0b94c41a25f7f78dc0e65c2b460a768 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 -t -i --rm ubuntu:14.04 /bin/bash | |
# apt-get update && apt-get install -y software-properties-common | |
# add-apt-repository ppa:wireguard/wireguard | |
# apt-get update | |
# apt-get install wireguard | |
# umask 077 | |
# wg genkey | tee privatekey | wg pubkey > publickey | |
# docker cp <containerId>:/src /dest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment