Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ type Address struct {
type Network struct {
IP string
Name string
Aliases []string
Gateway string
EndpointID string
IPv6Gateway string
Expand Down
1 change: 1 addition & 0 deletions internal/context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func SetDockerEnv(d *docker.Env) {
type Network struct {
IP string
Name string
Aliases []string
Gateway string
EndpointID string
IPv6Gateway string
Expand Down
1 change: 1 addition & 0 deletions internal/generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ func (g *generator) getContainers(config config.Config) ([]*context.RuntimeConta
network := context.Network{
IP: v.IPAddress,
Name: k,
Aliases: append([]string{}, v.Aliases...),
Gateway: v.Gateway,
EndpointID: v.EndpointID,
IPv6Gateway: v.IPv6Gateway,
Expand Down