Launch private registry with init so the container can be killed on cleanup (#11046)

Signed-off-by: Derek Nola <derek.nola@suse.com>
pull/11074/head
Derek Nola 2 months ago committed by GitHub
parent a91257acf5
commit 8b9c6bc337
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -84,7 +84,7 @@ var _ = Describe("Verify Create", Ordered, func() {
})
It("Create new private registry", func() {
registry, err := e2e.RunCmdOnNode("docker run -d -p 5000:5000 --restart=always --name registry registry:2 ", serverNodeNames[0])
registry, err := e2e.RunCmdOnNode("docker run --init -d -p 5000:5000 --restart=always --name registry registry:2 ", serverNodeNames[0])
fmt.Println(registry)
Expect(err).NotTo(HaveOccurred())

Loading…
Cancel
Save