mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
move Docker manager to docker package
This commit is contained in:
@@ -11,8 +11,8 @@ import (
|
||||
"google.golang.org/protobuf/types/known/emptypb"
|
||||
"slices"
|
||||
"strings"
|
||||
machinecore "uncloud/internal/machine"
|
||||
"uncloud/internal/machine/api/pb"
|
||||
"uncloud/internal/machine/docker"
|
||||
"uncloud/internal/secret"
|
||||
)
|
||||
|
||||
@@ -111,7 +111,7 @@ func (c *Client) RunService(ctx context.Context, opts *ServiceOptions) (RunServi
|
||||
}
|
||||
netConfig := &network.NetworkingConfig{
|
||||
EndpointsConfig: map[string]*network.EndpointSettings{
|
||||
machinecore.DockerNetworkName: {},
|
||||
docker.NetworkName: {},
|
||||
},
|
||||
}
|
||||
// TODO: pull image if it doesn't exist on the machine.
|
||||
|
||||
Reference in New Issue
Block a user