Tips and Trics
Filter out just container name
How to run more complex commands | docker exec
List containers by name
Find the log path of container
Other Stuff
- Run OpenVPN client
Bash
docker run -it --cap-add=NET_ADMIN --device /dev/net/tun --name vpn -v /home/$USER/temp/vpnclient-openvpn/profile-8.ovpn:/vpn/profile-8.ovpn -d dperson/openvpn-client
- Find out "docker run command" of running container
Bash
docker inspect \
--format "$(curl -s https://gist.githubusercontent.com/efrecon/8ce9c75d518b6eb863f667442d7bc679/raw/run.tpl)" \
<container_name_or_ID>