From a7914845b3caf43c4bc437dfa4912a78202b02a4 Mon Sep 17 00:00:00 2001 From: Ari Timonen Date: Wed, 18 Apr 2018 21:38:02 +0000 Subject: [PATCH] Update makefile Add --net=host --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f5c0be7..1576e15 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,8 @@ build: Dockerfile run: build mkdir -p logs - docker run -v $(shell pwd)/logs:/home/steam/hlds/ns/logs -ti $(IMAGE) + #docker run -p 27015:27015 27015/udp:27015/udp -v $(shell pwd)/logs:/home/steam/hlds/ns/logs -ti $(IMAGE) + docker run --net=host -v $(shell pwd)/logs:/home/steam/hlds/ns/logs -ti $(IMAGE) shell: docker exec -u0 -ti $(IMAGE) -v /bin/bash