Skip to content

Commit

Permalink
Launch private registry with init so the container can be killed on c…
Browse files Browse the repository at this point in the history
…leanup (#11045)

Signed-off-by: Derek Nola <derek.nola@suse.com>
  • Loading branch information
dereknola authored Oct 10, 2024
1 parent 75955a8 commit 3999f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/privateregistry/privateregistry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit 3999f83

Please sign in to comment.