diff --git a/docs/debug.md b/docs/debug.md index ef59366..b21cd53 100644 --- a/docs/debug.md +++ b/docs/debug.md @@ -4,8 +4,8 @@ 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 +* Create a shell in the running docker container with `docker exec`. +* To modify the data, you can also mount the data container and modify it with docker run --rm -it -v $OVPN_DATA:/etc/openvpn kylemanna/openvpn bash -l