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 (#10822)

Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola authored Sep 4, 2024
1 parent 3d6e4a7 commit 36282dc
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 36282dc

Please sign in to comment.