mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
chore: label temporary socat proxy containers created by 'uc image push' with uncloud.managed
This commit is contained in:
1 parent
808bda67d4
commit
87e49dfb62
1 file changed
+3
@@ -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