DNS service fixes for all containers

This commit is contained in:
pokamest 2022-02-02 02:12:29 +03:00
parent f7a57ffeb4
commit 1a7fa3746d
9 changed files with 33 additions and 4 deletions

View file

@ -10,6 +10,8 @@ sudo docker run -d \
--name $CONTAINER_NAME \
$CONTAINER_NAME
sudo docker network connect amnezia-dns-net $CONTAINER_NAME
# Prevent to route packets outside of the container in case if server behind of the NAT
#sudo docker exec -i $CONTAINER_NAME sh -c "ifconfig eth0:0 $SERVER_IP_ADDRESS netmask 255.255.255.255 up"