podman-restart(1) General Commands Manual podman-restart(1) (NAME) podman-restart - (SYNOPSIS) podman restart [] ... podman container restart [] ... (DESCRIPTION) restart . . . (OPTIONS) --all, -a . --cidfile . . --filter, -f=filter . --filter . (inclusive) label . (exclusive) . : +---------------------+--------------------------------------------------------------------------------+ | | | +---------------------+--------------------------------------------------------------------------------+ |id | [] ( | | | CID | | | ) | +---------------------+--------------------------------------------------------------------------------+ |name | [] ( ) | +---------------------+--------------------------------------------------------------------------------+ |annotation | [] [=] | | | | +---------------------+--------------------------------------------------------------------------------+ |annotation! | [] [=] | | | | +---------------------+--------------------------------------------------------------------------------+ |label | [] [=] | | | | +---------------------+--------------------------------------------------------------------------------+ |label! | [] [=] | | | | +---------------------+--------------------------------------------------------------------------------+ |exited | [ ] | +---------------------+--------------------------------------------------------------------------------+ |status | [] : 'created' | | | 'initialized' 'running' 'stopped' 'paused' 'exited' | | | 'removing' 'stopping' 'unknown' | +---------------------+--------------------------------------------------------------------------------+ |ancestor | [ ] | | | | | | ( ) | +---------------------+--------------------------------------------------------------------------------+ |before | [] [] | | | | +---------------------+--------------------------------------------------------------------------------+ |since | [] [] | | | | +---------------------+--------------------------------------------------------------------------------+ |volume | [ ] [ ] | | | | +---------------------+--------------------------------------------------------------------------------+ |health | [] (healthy) (unhealthy) | +---------------------+--------------------------------------------------------------------------------+ |pod | [] | | | | +---------------------+--------------------------------------------------------------------------------+ |network | [] | +---------------------+--------------------------------------------------------------------------------+ |restart-policy | [] | | | ( 'no' 'on-failure' 'always' | | | 'unless-stopped') | +---------------------+--------------------------------------------------------------------------------+ |until | [ ] | | | | | | . | +---------------------+--------------------------------------------------------------------------------+ |command | [] | | | argv[0] | | | | +---------------------+--------------------------------------------------------------------------------+ |should-start-on-boot | [] | | | | | | . True | | | | | | 'always' 'unless-stopped' | | | | | | | +---------------------+--------------------------------------------------------------------------------+ --latest, -l . : . ( ( WSL2) ) --running running . --time, -t=seconds . -1 . (EXAMPLES) : $ podman restart -l ec588fc80b05e19d3006bf2e8aa325f0a2e2ff1f609b7afb39176ca8e3e13467 : $ podman restart ff6cf1 ff6cf1e5e77e6dba1efc7f3fcdb20e8b89ad8947bc0518be1fcb2c78681f226f : $ podman restart --time 4 test1 test2 c3bb026838c30e5097f079fa365c9a4769d52e1017588278fa00d5c68ebc1502 17e13a63081a995136f907024bcfe50ff532917988a152da229db9d894c5a9ec : $ podman restart --running : $ podman restart --all : $ podman restart --cidfile /home/user/cidfile-1 $ podman restart --cidfile /home/user/cidfile-1 --cidfile ./cidfile-2 : $ podman restart --filter name=id-name-test : $ podman restart --filter label=app=label-test : $ podman restart --filter exited=0 : $ podman restart --filter status=running : $ podman restart --filter ancestor=nginx : $ podman restart --filter before=second : $ podman restart --filter since=first : $ podman restart --filter volume=vol-filter : $ podman restart --filter pod=mypod : $ podman restart --filter network=net-filter : $ podman restart --filter until=10s (SEE ALSO) podman(1) (HISTORY) (Matt Heon) mheon@redhat.com podman-restart(1)