diff options
Diffstat (limited to 'cmd/podman/create.go')
-rw-r--r-- | cmd/podman/create.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/podman/create.go b/cmd/podman/create.go index 7bfb070c7..e7efe7502 100644 --- a/cmd/podman/create.go +++ b/cmd/podman/create.go @@ -399,9 +399,6 @@ func parseCreateOpts(ctx context.Context, c *cliconfig.PodmanCommand, runtime *l tty := c.Bool("tty") - if c.Bool("detach") && c.Bool("rm") { - return nil, errors.Errorf("--rm and --detach cannot be specified together") - } if c.Flag("cpu-period").Changed && c.Flag("cpus").Changed { return nil, errors.Errorf("--cpu-period and --cpus cannot be set together") } |