From 9076c96a2501d3e7b29f700657c8d9b34b86ae55 Mon Sep 17 00:00:00 2001 From: Kristian Haugene Date: Sat, 8 Aug 2015 01:55:50 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ea0fd4f..0640e4f 100644 --- a/README.md +++ b/README.md @@ -89,8 +89,12 @@ This is because the VPN is active, and since docker is running in a different ip There are several ways to fix this. You can pipe and do fancy iptables or ip route configurations on the host and in the Docker image. But I found that the simplest solution is just to proxy my traffic. Start a Nginx container like this: ``` -$ docker run -d -v /path/to/nginx.conf:/etc/nginx/nginx.conf:ro -p 8080:8080 nginx +$ docker run -d \ + -v /path/to/nginx.conf:/etc/nginx/nginx.conf:ro \ + -p 8080:8080 \ + nginx ``` + Where /path/to/nginx.conf has this content: ```