Skip to content

Instantly share code, notes, and snippets.

@ramingar
Created August 29, 2025 10:17
Show Gist options
  • Select an option

  • Save ramingar/cae993e6d8813181c5a9c9ef3bad0241 to your computer and use it in GitHub Desktop.

Select an option

Save ramingar/cae993e6d8813181c5a9c9ef3bad0241 to your computer and use it in GitHub Desktop.
Force to stop a container
podman inspect <container id|name> | grep Pid
ps -fp <PID>
kill -9 <PID>

# to verify:
ps -o pid,stat,cmd -p <PID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment