Skip to content
Open
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 config/config_docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ type dockerNetworkInterfaces struct {
V6 struct {
Subnet string `default:"fdba:17c8:6c94::/64"`
Gateway string `default:"fdba:17c8:6c94::1011"`
Enabled bool `default:"true"`
}
}

Expand Down
2 changes: 1 addition & 1 deletion environment/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func ConfigureDocker(ctx context.Context) error {
// Creates a new network on the machine if one does not exist already.
func createDockerNetwork(ctx context.Context, cli *client.Client) error {
nw := config.Get().Docker.Network
enableIPv6 := true
enableIPv6 := nw.Interfaces.V6.Enabled
_, err := cli.NetworkCreate(ctx, nw.Name, network.CreateOptions{
Driver: nw.Driver,
EnableIPv6: &enableIPv6,
Expand Down