Bug 1694662
| Summary: | Support --restart=no in podman docker compatibility wrapper | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Miroslav Lisik <mlisik> |
| Component: | podman | Assignee: | Jindrich Novy <jnovy> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.0 | CC: | cluster-maint, dwalsh, jligon, jnovy, lsm5, mheon, michele, tsweeney |
| Target Milestone: | rc | ||
| Target Release: | 8.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | podman-1.4.4 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-02-26 10:28:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Miroslav Lisik
2019-04-01 11:21:38 UTC
Reassigning to the podman component.
Podman's docker compatibility wrapper does not support the --restart option, since there's no equivalent of docker-daemon. However, there should be no problem in supporting an explicit --restart=no option, for a small increase in compatibility. (Even the other restart values could perhaps just get a warning.)
In this case, pacemaker's built-in support for launching containers via docker does pass --restart=no. That will cause fatal problems for any customers using the docker compatibility wrapper for this purpose. ("no" is the default, but I'm not sure whether that can be overridden externally somehow, so I'd rather not stop sending it -- it's crucial that docker-daemon not try to restart containers managed by pacemaker).
Opened a PR to allow --restart=no Fixed in podman-1.4.4 We're actually shipping 1.4.2 in 8.1 - but it's fixed there, too |