.nh .TH "apptainer" "1" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP apptainer-oci-exec - Execute a command within container (root user only) .SH SYNOPSIS .PP \fBapptainer oci exec \fP .SH DESCRIPTION .PP Exec will execute the provided command/arguments within container identified by container ID. .SH OPTIONS .PP \fB-h\fP, \fB--help\fP[=false] help for exec .SH EXAMPLE .EX $ apptainer oci exec mycontainer id .EE .SH SEE ALSO .PP \fBapptainer-oci(1)\fP .SH HISTORY .PP 1-Apr-2024 Auto generated by spf13/cobra