debug: Add mention of shells
* Very useful for getting in a running container or fix a data volume.
This commit is contained in:
parent
816eff9af6
commit
e9c5108a8f
@ -2,6 +2,13 @@
|
|||||||
|
|
||||||
Random things I do to debug the containers.
|
Random things I do to debug the containers.
|
||||||
|
|
||||||
|
## Login Shells
|
||||||
|
|
||||||
|
* Create a shell in the running docker container (aka namespace) with [nsenter](https://github.com/jpetazzo/nsenter)
|
||||||
|
* If you don't have nsenter/docker-enter, you can mount the data container and modify it with
|
||||||
|
|
||||||
|
docker run --rm -it --volumes-from $OVPN_DATA kylemanna/openvpn bash -l
|
||||||
|
|
||||||
## Stream OpenVPN Logs
|
## Stream OpenVPN Logs
|
||||||
|
|
||||||
1. Get the container's name or container ID:
|
1. Get the container's name or container ID:
|
||||||
|
Loading…
Reference in New Issue
Block a user