Setup Offline Server

I’m trying to setup a teamspeak server on a machine that has no internet connection and can only be accessed with a vpn. I’m using the docker teamspeak image. It seems to work at first but after a few minutes I get this error and it stops working. TS3ANetwork::ResolveHostName failed error: -3 (Try again) 22