El día jueves, noviembre 14, 2024 a las 07:47:47 -0600, Brent Baude escribió:
If you add `--rm` to the run command does the behavior change ?
Brent Baude Container Runtimes, Podman Architect https://github.com/containers/podman
This really did it. While the container was running: # ls -ltr | tail -3 drwx------ 6 cups root 1024 Nov 14 17:24 7829f67c27d816793cd0159afd140224afeb5fbb3082599144365e4820d75087 drwxr-xr-x 2 cups root 17408 Nov 15 07:28 l drwx------ 6 cups root 1024 Nov 15 07:28 b9973358275422ff0afa9c0dc1d853c91daaeddf1a73773be3e3c1f5030f0052 cups@srap57dxr1:~> podman stop c069d9415ce9 WARN[0010] StopSignal SIGQUIT failed to stop container gifted_murdock in 10 seconds, resorting to SIGKILL c069d9415ce9 # ls -ltr | tail -3 drwx------ 5 cups root 1024 Nov 14 17:24 1b753bb8fe11b0c8aa4526ecff2ffcc8d9e701de2c5bf2e7711bdbf87663c9a7 drwx------ 6 cups root 1024 Nov 14 17:24 7829f67c27d816793cd0159afd140224afeb5fbb3082599144365e4820d75087 drwxr-xr-x 2 cups root 17408 Nov 15 07:50 l i.e. the dir below b9973358275422ff0afa9c0dc1d853c91daaeddf1a73773be3e3c1f5030f0052 was removed. The man page for podman-run explains: ... --rm Automatically remove the container and any anonymous unnamed volume associated with the container when it exits. The default is false. Lesion learned: One must study the complete man page. Thanks! matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub Annalena Baerbock: "We are fighting a war against Russia ..." (25.1.2023) I, Matthias, I am not at war with Russia. Я не воюю с Россией. Ich bin nicht im Krieg mit Russland.