Calling Stop on a container in Created status reports error #11740
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I'm trying to migrate our existing infrastructure from Docker to Podman, and at first some of our basic unit test are failing. The particular test case is to create a dummy container (not started), then call Stop on it. We expect a simple " no change" reply. Instead there is an error. I am even able to replicate this using the command-line instead of the REST api.
Steps to reproduce the issue:
podman create alpine bash
podman ps -a
make sure it is CREATEDpodman stop <container_id>
.Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
running in WSL2, Ubuntu 20.04, user 1000. I also tried with
sudo podman
and the behaviour is the same.Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Running on WSL2.
The text was updated successfully, but these errors were encountered: