mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
chore: label temporary socat proxy containers created by 'uc image push' with uncloud.managed
This commit is contained in:
@@ -406,6 +406,9 @@ func runDockerVMProxyContainer(ctx context.Context, dockerCli *docker.Client, ta
|
||||
ExposedPorts: nat.PortSet{
|
||||
containerPort: {},
|
||||
},
|
||||
Labels: map[string]string{
|
||||
api.LabelManaged: "",
|
||||
},
|
||||
}
|
||||
|
||||
// Get an available port on localhost to bind the container port to by creating a temporary listener and closing it.
|
||||
|
||||
Reference in New Issue
Block a user