Commit d4f24b7c authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Merge branch '28-add-labels-on-containers' into 'release/0.3.x'

Add labels on containers

See merge request !15
parents 200c020d 17132e51
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