The problem is if we bind srcds to public IP of the box, the container just
crash because it can't allocate an IP that it doesn't see (look screenshot)
https://gyazo.com/57f60cd190fd64686c6ddbf4e54b34c5
Binding to 0.0.0.0 solve the problem but then, status etc doesn't works.
Hey,
what you need is the ip address associated with the network interface. This
is how you are able to get it inside of a container:
ifconfig eth0 | grep "inet addr:" | cut -d : -f 2 | cut -d " " -f 1
If you used this inside of a script assign it to a variable:
IP="$(ifconfig eth0 | grep
I am currently looking to migrate all my public servers to docker but there
are still some issues:
1- As docker doesn't know it's own external ip, we have to bind srcds to
0.0.0.0 or the container crash. This also lead to another issue, if you try
to assign another IP address than the default
Hi Anyone use this? --With regardsLevinchuk F.
___
Csgo_servers mailing list
Csgo_servers@list.valvesoftware.com
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers