mirror of
https://github.com/containers/podman.git
synced 2025-10-19 12:12:36 +08:00

The libpod containers create endpoint wasn't checking whether the image existed before creating the container. If the image doesn't exist, it should return a 404 status code but it was failing and returning a 500 status code. This fix matches the behavior of the compat endpoint. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>