cmd/create: Drop redundant label when creating a container

The Toolbox repository was moved to the 'containers' organization some
time ago already[0]. Containers marked with the label:

  com.github.debarshiray.toolbox=true

will remain supported but new containers will not be created with it.

https://github.com/containers/toolbox/pull/510

[0] de5e5df9b7
This commit is contained in:
Ondřej Míchal 2020-07-23 22:48:12 +02:00
parent ae43560d45
commit 582c999ecd

View file

@ -395,7 +395,6 @@ func createContainer(container, image, release string, showCommandToEnter bool)
"--hostname", "toolbox", "--hostname", "toolbox",
"--ipc", "host", "--ipc", "host",
"--label", "com.github.containers.toolbox=true", "--label", "com.github.containers.toolbox=true",
"--label", "com.github.debarshiray.toolbox=true",
}...) }...)
createArgs = append(createArgs, devPtsMount...) createArgs = append(createArgs, devPtsMount...)