'\" t
.\"     Title: flatpak enter
.\"    Author: Alexander Larsson <alexl@redhat.com>
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 06/08/2026
.\"    Manual: flatpak enter
.\"    Source: flatpak
.\"  Language: English
.\"
.TH "FLATPAK ENTER" "1" "" "flatpak" "flatpak enter"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
flatpak-enter \- Enter an application or runtime\*(Aqs sandbox
.SH "SYNOPSIS"
.HP \w'\fBflatpak\ enter\fR\ 'u
\fBflatpak enter\fR [OPTION...] INSTANCE COMMAND [ARG...]
.SH "DESCRIPTION"
.PP
Enter a running sandbox\&.
.PP
INSTANCE
must be either the pid of a process running in a flatpak sandbox, or the ID of a running application, or the instance ID of a running sandbox\&. You can use
\fBflatpak ps\fR
to find the instance IDs of running flatpaks\&.
.PP
COMMAND
is the command to run in the sandbox\&. Extra arguments are passed on to the command\&.
.PP
This creates a new process within the running sandbox, with the same environment\&. This is useful when you want to debug a problem with a running application\&.
.PP
This command works as a regular user if the system support unprivileged user namespace\&. If that is not available you need to run run it like:
\fBsudo \-E flatpak enter\fR\&.
.SH "OPTIONS"
.PP
The following options are understood:
.PP
\fB\-h\fR, \fB\-\-help\fR
.RS 4
Show help options and exit\&.
.RE
.PP
\fB\-v\fR, \fB\-\-verbose\fR
.RS 4
Print debug information during command processing\&.
.RE
.PP
\fB\-\-ostree\-verbose\fR
.RS 4
Print OSTree debug information during command processing\&.
.RE
.SH "EXAMPLES"
.PP
\fB$ flatpak enter 15345 sh\fR
.SH "SEE ALSO"
.PP
\fBflatpak\fR(1),
\fBflatpak-run\fR(1)
\fBflatpak-ps\fR(1)
