Docker tun device into container install openvpn or other soft, which uses tun devices
-
-
Save nhthai2005/a7c1989e834eaaa0eedb5b1f4513f764 to your computer and use it in GitHub Desktop.
docker tun device into container
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
| docker run -d --name tundevica \ | |
| --cap-add=NET_ADMIN \ | |
| --device /dev/net/tun \ | |
| ubuntu tail -f /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment