FLATPAK-ENTER(1)
β¨ FLATPAK-ENTER(1) β¨
okay bestie, welcome to the flatpak enter page of the manual β it's the little command that lets you slide into a running sandbox like you own the place π
πΈ NAME πΈ
flatpak-enter β enter an application or runtime's sandbox πͺβ¨
π SYNOPSIS π
flatpak enter [OPTION...] INSTANCE COMMAND [ARG...]
π DESCRIPTION π
so the whole vibe here is: you're entering a sandbox that is already running. not launching a new one, not building one, just walking in. main character energy fr πΆβοΈπ
INSTANCE has to be one of these three things, and bestie you gotta pick one:
- the pid of a process that's running inside a flatpak sandbox
- the ID of a running application
- the instance ID of a running sandbox
and if you're sitting there like "how do I even find an instance ID π" β that's what flatpak ps is for, it lists the instance IDs of all your running flatpaks. iconic little helper.
COMMAND is the command you want to run in that sandbox, and any extra args after it get passed straight on to that command. no cap. π«Ά
what actually happens: it creates a new process inside the running sandbox, with the same environment. and why do we care? because it's so useful when you're trying to debug a problem with a running application. it's giving built-in detective mode πβ¨
now, the fine print π β this command works as a regular user if the system supports unprivileged user namespace. if that's not available, you gotta run it like this instead:
sudo -E flatpak enter
π¦ OPTIONS π¦
here's everything it understands, no gatekeeping:
-h,--helpβ show help options and dip. βοΈ-v,--verboseβ print debug information while the command is processing. spill the tea, basically π«--ostree-verboseβ print OSTree debug information during command processing. even more tea, but OSTree-flavored π§
π EXAMPLES π
the classic:
$ flatpak enter 15345 sh
β SEE ALSO β
flatpak(1), flatpak-run(1) flatpak-ps(1)
and that's the page, bestie π«Ά this was flatpak's FLATPAK ENTER(1) β go forth and enter some sandboxes responsibly, mwah πβ¨
π¦ where this page comes from
- debian trixie: flatpak 1.16.6-1~deb13u3
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- nixpkgs unstable: flatpak 1.18.4
- ubuntu stonking: flatpak 1.18.4-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms