1runc-create(8)              System Manager's Manual             runc-create(8)
2
3
4

NAME

6       runc-create - create a container
7
8
9

SYNOPSIS

11       runc create [option ...] container-id
12
13
14

DESCRIPTION

16       The  create  command  creates an instance of a container from a bundle.
17       The bundle is a directory with a specification file named  config.json,
18       and a root filesystem.
19
20
21

OPTIONS

23       --bundle|-b path
24              Path to the root of the bundle directory. Default is current di‐
25              rectory.
26
27
28       --console-socket path
29              Path to an AF_UNIX  socket which will receive a file  descriptor
30              referencing the master end of the console's pseudoterminal.  See
31              docs/terminals ⟨https://github.com/opencontainers/runc/blob/mas
32              ter/docs/terminals.md⟩.
33
34
35       --pid-file path
36              Specify the file to write the initial container process' PID to.
37
38
39       --no-pivot
40              Do not use pivot root to jail process inside rootfs. This should
41              not be used except in exceptional circumstances, and may be  un‐
42              safe from the security standpoint.
43
44
45       --no-new-keyring
46              Do not create a new session keyring for the container. This will
47              cause the container to inherit  the  calling  processes  session
48              key.
49
50
51       --preserve-fds N
52              Pass  N  additional  file  descriptors to the container (stdio +
53              $LISTEN_FDS + N in total). Default is 0.
54
55
56

SEE ALSO

58       runc-spec(8), runc-start(8), runc(8).
59
60
61
62                                                                runc-create(8)
Impressum