8000 base.sh hangs when docker has been replaced with podman · Issue #1656 · hpc/charliecloud · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.
This repository was archived by the owner on May 27, 2025. It is now read-only.
base.sh hangs when docker has been replaced with podman #1656
Closed
@rstyd

Description

@rstyd

We ran into an issue on certain systems where running ch-convert or any charliecloud shell script on flux across multiple nodes hangs indefinitely:

flux run -N 2 ch-convert -i tar -o dir /tmp/neo4j-3.5.34.tar.gz /tmp/neo4j

After some debugging and messing around with charliecloud code, I figured out commenting out the docker function in base.sh solves the issue.

charliecloud/lib/base.sh

Lines 148 to 157 in 6d094f5

# Do we need sudo to run docker?
if docker info > /dev/null 2>&1; then
docker_ () {
docker "$@"
}
else
docker_ () {
sudo docker "$@"
}
fi

Checking docker info on these systems yields:

[rustyd@system:~]$ docker info
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
WARN[0000] Network file system detected as backing store.  Enforcing overlay option `force_mask="700"`.  Add it to storage.conf to silence this warning

We also tried flux run -N 1 docker info and that blocks as well so it looks like it's really a podman issue. We're going to submit an issue to podman as well, but until they resolve it charliecloud will have issues as well.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0