Skip to content

Graphql error when you remove the image of an existing container #13

@SakiiR

Description

@SakiiR

If a container is still linked to a removed image on the system, a graphql error is raised when trying to retrieve the container list.

To reproduce:

  • Create a container based on a freshly downloaded image
  • Remove the image docker rmi [-f] IMAGE_ID
  • Access the Docker -> Containers page and observe the error

pm_manager
    raise cls(e, response=response, explanation=explanation)
11-12 13:18:12
pm_manager
docker.errors.ImageNotFound: 404 Client Error for http+docker://localhost/v1.41/images/188ea824d7c6fcabe9efe97f34375d73e21d2c52ac45088990120e2527a9c5b3/json: Not Found ("no such image: 188ea824d7c6fcabe9efe97f34375d73e21d2c52ac45088990120e2527a9c5b3: No such image: sha256:188ea824d7c6fcabe9efe97f34375d73e21d2c52ac45088990120e2527a9c5b3")
11-12 13:18:12
pm_manager


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions