.nh .TH runc-create "8" .SH NAME .PP \fBrunc-create\fP - create a container .SH SYNOPSIS .PP \fBrunc create\fP [\fIoption\fP ...] \fIcontainer-id\fP .SH DESCRIPTION .PP The \fBcreate\fP command creates an instance of a container from a bundle. The bundle is a directory with a specification file named \fIconfig.json\fP, and a root filesystem. .SH OPTIONS .TP \fB--bundle\fP|\fB-b\fP \fIpath\fP Path to the root of the bundle directory. Default is current directory. .TP \fB--console-socket\fP \fIpath\fP Path to an \fBAF_UNIX\fP socket which will receive a file descriptor referencing the master end of the console's pseudoterminal. See docs/terminals \[la]https://github.com/opencontainers/runc/blob/master/docs/terminals.md\[ra]\&. .TP \fB--pid-file\fP \fIpath\fP Specify the file to write the initial container process' PID to. .TP \fB--no-pivot\fP Do not use pivot root to jail process inside rootfs. This should not be used except in exceptional circumstances, and may be unsafe from the security standpoint. .TP \fB--no-new-keyring\fP Do not create a new session keyring for the container. This will cause the container to inherit the calling processes session key. .TP \fB--preserve-fds\fP \fIN\fP Pass \fIN\fP additional file descriptors to the container (\fBstdio\fP + \fB$LISTEN_FDS\fP + \fIN\fP in total). Default is \fB0\fP\&. .SH SEE ALSO .PP \fBrunc-spec\fP(8), \fBrunc-start\fP(8), \fBrunc\fP(8).