Commit 17132e51 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add labels to created containers

parent 200c020d
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -341,7 +341,11 @@ class Container(Item):
		else:
			opts.append(b"--network=none")

		self.cid = docker_output(b"container", b"create", *opts, self.image.iid, *self.cmd)
		self.cid = docker_output(
			b"container", b"create",
			"--label", "uk.org.kodo.behave-utils",
			*opts, self.image.iid, *self.cmd,
		)
		assert self.cid

		# Disconnect the "none" network specified as the starting network