diff options
Diffstat (limited to 'cmd/podman')
-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 392163424..adfae25c1 100644 --- a/cmd/podman/create.go +++ b/cmd/podman/create.go @@ -397,9 +397,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") } |