Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement network configuration on container update #191

Open
schumi2004 opened this issue Dec 1, 2023 · 1 comment
Open

Implement network configuration on container update #191

schumi2004 opened this issue Dec 1, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@schumi2004
Copy link

schumi2004 commented Dec 1, 2023

This is the perfect addon to manage my containers but today i noticed after updating a few that it ignores my networks configuration assigned to containers.

Many of my containers have a static IP configured like this but it gets ignored when you update them via HA/MQTT, it assigns a completly different IP from the same subnet to my containers.
Any idea why and how this happens and can it be fixed?

    networks:
      ipvlan_custom:
        ipv4_address: 10.0.0.181

networks:
  ipvlan_custom:
    name: ipvlan_custom
    ipam:
      config:
        - subnet: 10.0.0.0/24
          gateway: 10.0.0.1
@MichelFR
Copy link
Owner

MichelFR commented Dec 5, 2023

Since i need to pass every parameter from the old running container restructure its data and pass it to the creation of the new container some data/config might get lost, like in this case.

Im currently working activevly on this issue and on named volume mounts since they suffer from the same issue.

Im gonna come back to this issue when i made some progress

@MichelFR MichelFR added the enhancement New feature or request label Dec 5, 2023
@MichelFR MichelFR self-assigned this Dec 5, 2023
@MichelFR MichelFR changed the title BUG? Updating true Home Assistant/MQTT seems to ignore networks: configuration Implement network configuration on container update Dec 5, 2023
@MichelFR MichelFR pinned this issue Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants