#Assigning Static IP to Server Container

3 messages · Page 1 of 1 (latest)

stray wagon
#

So I'm having issues with daily restarts of the pterodactyl VM causing docker to occasionally reassign each server docker container a new IP.

This normally would not be an issue as most server port comm can happen from container to container but one plugin I use specifically needs the subnet IP which changes breaking the plugin occasionally.

How do I get docker to start a specific server container with a static IP in the subnet?

tldr: how do I assign a pterodactyl docker container to have a static ip in the subnet?

mossy mica
#

you shouldn't use container IP

#

that's normal for container to change IPs