mirror of
https://github.com/containers/podman.git
synced 2026-06-16 03:28:55 -04: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>