github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/pidfile.md (about) 1 ####> This option file is used in: 2 ####> podman create, run 3 ####> If file is edited, make sure the changes 4 ####> are applicable to all of those. 5 #### **--pidfile**=*path* 6 7 When the pidfile location is specified, the container process' PID is written to the pidfile. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines) 8 If the pidfile option is not specified, the container process' PID is written to /run/containers/storage/${storage-driver}-containers/$CID/userdata/pidfile. 9 10 After the container is started, the location for the pidfile can be discovered with the following `podman inspect` command: 11 12 $ podman inspect --format '{{ .PidFile }}' $CID 13 /run/containers/storage/${storage-driver}-containers/$CID/userdata/pidfile