I start podman as following command.
podman --log-level=debug run --rm --env-host --env-file envfile --userns=keep-id
--network=host --pid=host --ipc=host --privileged -v ./Dmyjob:/Dmyjob:z -w /Dmyjob
abacus:3.1.0 ./myjob.sh
But sometimes it output error "Error: failed to connect to container's attach
socket: /xxxxx/attach: no such file or directory".
time="2023-02-24T15:56:41+08:00" level=debug msg="Successfully cleaned up
container ab2d81ec95dd0025a588ad016fb2b79db8c4e1617f0b808f756a3d25d4fca2a4"
time="2023-02-24T15:56:41+08:00" level=error msg="Storage for container
ab2d81ec95dd0025a588ad016fb2b79db8c4e1617f0b808f756a3d25d4fca2a4 has been removed"
time="2023-02-24T15:56:41+08:00" level=debug msg="Removing all exec
sessions for container
ab2d81ec95dd0025a588ad016fb2b79db8c4e1617f0b808f756a3d25d4fca2a4"
time="2023-02-24T15:56:41+08:00" level=debug msg="Container
ab2d81ec95dd0025a588ad016fb2b79db8c4e1617f0b808f756a3d25d4fca2a4 storage is already
unmounted, skipping..."
time="2023-02-24T15:56:41+08:00" level=info msg="Storage for container
ab2d81ec95dd0025a588ad016fb2b79db8c4e1617f0b808f756a3d25d4fca2a4 already removed"
time="2023-02-24T15:56:41+08:00" level=debug msg="ExitCode msg:
\"failed to connect to container's attach socket:
/export/myuser/11727/1253/share/containers/storage/overlay-containers/ab2d81ec95dd0025a588ad016fb2b79db8c4e1617f0b808f756a3d25d4fca2a4/userdata/attach:
no such file or directory\""
Error: failed to connect to container's attach socket:
/export/myuser/11727/1253/share/containers/storage/overlay-containers/ab2d81ec95dd0025a588ad016fb2b79db8c4e1617f0b808f756a3d25d4fca2a4/userdata/attach:
no such file or directory