Used the following podman commands to run the containers:
cd $PATH_OF_DIR_WITH_CONTAINERFILE podman build -t bar-rs-compile . podman run --rm --network none -v $PWD:/out bar-rs-compile
Works on my machine™