Skip to content

MAC address collisions #1645

Open
Open
@Spide85

Description

@Spide85

Hi,

if i recreate a container which is in two networks, portainer will save one MAC for both networks and creates duplicated MACs. I have to delete the stored MAC every time to prevent this. Docker will normally copy the last bits from the ip to the mac. If I am in two networks the last parts are not the same, so storing the mac makes no sense and creates collisions.

Can you implement an option to prevent Portainer to store the mac on recreation?

Greetings

Technical details:

  • Portainer version: 1.16.1
  • Target Docker version (the host/cluster you manage): 18.01.0-ce
  • Platform (windows/linux): Arch Linux
  • Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): docker run -d -p 9000:9000 --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /opt/portainer:/data portainer/portainer
  • Target Swarm version (if applicable): N/A
  • Browser: All

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions