Skip to content

Commit 3cc69b2

Browse files
committed
Fix interaction with ygg and alf
1 parent 7213d0e commit 3cc69b2

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
storage

alfis

scripts/start_gateway.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ docker build --tag alfis_resolver_image alfis
55

66
./scripts/stop_gateway.sh
77

8+
mkdir -p storage
9+
810
docker run --name yggdrasil_gateway_container \
911
--network="host" \
1012
--cap-add=NET_ADMIN \
1113
--device=/dev/net/tun:/dev/net/tun \
12-
--volume $PWD/yggdrasil:/yggdrasil \
14+
--volume $PWD/storage:/mnt/storage \
1315
--detach --rm --interactive --tty yggdrasil_gateway_image
1416

1517
resolv_conf=`cat /etc/resolv.conf`
@@ -18,5 +20,5 @@ echo -e "# Alfis DNS resolver\nnameserver 127.0.0.1\n$resolv_conf" \
1820

1921
docker run --name alfis_resolver_container \
2022
--network="host" \
21-
--volume $PWD/alfis:/alfis \
23+
--volume $PWD/storage:/mnt/storage \
2224
--detach --rm --interactive --tty alfis_resolver_image

0 commit comments

Comments
 (0)