mirror of
https://github.com/containers/podman.git
synced 2025-10-11 16:26:00 +08:00
Support passing of Ulimits as -1 to mean max
Docker allows the passing of -1 to indicate the maximum limit allowed for the current process. Fixes: https://github.com/containers/podman/issues/19319 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -465,7 +465,7 @@ var _ = Describe("Podman inspect", func() {
|
||||
Expect(inspect[0].NetworkSettings.Networks).To(HaveLen(1))
|
||||
})
|
||||
|
||||
It("Container inspect with unlimited uilimits should be -1", func() {
|
||||
It("Container inspect with unlimited ulimits should be -1", func() {
|
||||
ctrName := "testctr"
|
||||
session := podmanTest.Podman([]string{"run", "-d", "--ulimit", "core=-1:-1", "--name", ctrName, ALPINE, "top"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
|
Reference in New Issue
Block a user