Hi list,

I have docker installed, and I have a running instance of MineOS also running, but each time I start the instance (system restarts) it makes its own IP address in the address space of my running system.

I am using '-b' to connect it to the bridge I already have running, but instead of configuring its IP to be 192.168.3.130, its 3.4 or 3.5 or one of the unallocated IP's on the 192.168.3.0/24 address range.

I can reboot my system, and docker restarts the container no problems, automatically.

I followed a instruction that I should modify /etc/network/interaces, but that has done nothing to get the IP of the container to configure on startup :(

/etc# cat network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto eth0
        iface eth0 inet static
        address 192.168.3.130
        netmask 255.255.255.0
        gateway 192.168.3.1

Is there something I am missing, cause I would like the IP to lock on to the address I want, not some random one it decides to start on.


--
---

      Regards,
Rod Smart


Reply via email to