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