move Docker management from network controller to standalone DockerManager

This commit is contained in:
Pavel Sviderski
2024-11-16 20:25:34 +10:00
parent 40f929847c
commit 19d53c4f67
6 changed files with 101 additions and 65 deletions
+14
View File
@@ -0,0 +1,14 @@
//go:build darwin
package machine
import (
"context"
"fmt"
"net/netip"
)
// EnsureUncloudNetwork is a stub for darwin.
func (d *DockerManager) EnsureUncloudNetwork(ctx context.Context, subnet netip.Prefix) error {
return fmt.Errorf("not supported on darwin")
}