Skip to content

Alias migration removes container network configuration #651

Description

@pablomendezroyo

The recently merged PR: #648 removes the container network configuration when adding the alias for those containers that already running

Approach:

  • Research dockerode and docker API documentation: inspect networks/ list networks / connect container to a network
  • Store the network container configuration before disconnect the container
  • Connect again the container back to the network with the stored network configuration
  • Fix docker-compose.yml desconfiguration
  • Test it

Metadata

Metadata

Labels

P0Address issue nowbugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions