mirror of https://github.com/k3s-io/k3s
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
parent
a91257acf5
commit
8b9c6bc337
|
@ -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…
Reference in New Issue