User Tools

Site Tools


docu:csheet:sysadm:container:podman:race_cond_container_storage

This is an old revision of the document!


How to solve a race condition where container cannot be created with same name even if it does not exist


<code bash> $ podman run -it –name containername … Error: error creating container storage: the container name “containername” is already in use by “e54a4c6acf9feaa2eb5680e781695182548a2a26253c570eaa9347398dc8bd12”. You have to remove that container to be able to reuse that name.: that name is already in use

# But the container does not exist if shown with `podman ps -a` # The storage of the container still exists, it's a race condition # Clear it with: $ podman rm –force –storage e54a4c6acf9feaa2eb5680e781695182548a2a26253c570eaa9347398dc8bd12 </code bash>

docu/csheet/sysadm/container/podman/race_cond_container_storage.1597576182.txt.gz · Last modified: 2020/08/16 11:09 by admin