1NAME()                                                                  NAME()
2
3
4
5       runc create - create a container
6
7
8

SYNOPSIS

10       runc create [command options] <container-id>
11
12
13       Where  "<container-id>"  is your name for the instance of the container
14       that you are starting. The name you provide for the container  instance
15       must be unique on your host.
16
17
18

DESCRIPTION

20       The create command creates an instance of a container for a bundle. The
21       bundle is a directory with a specification file named "config.json" and
22       a root filesystem.
23
24
25       The  specification  file includes an args parameter. The args parameter
26       is used to specify command(s)  that  get  run  when  the  container  is
27       started.  To change the command(s) that get executed on start, edit the
28       args parameter of the spec. See "runc spec --help"  for  more  explana‐
29       tion.
30
31
32

OPTIONS

34       --bundle  value,  -b  value   path to the root of the bundle directory,
35       defaults to the current directory
36          --console-socket value    path  to  an  AF_UNIX  socket  which  will
37       receive  a  file descriptor referencing the master end of the console's
38       pseudoterminal
39          --pid-file value          specify the file to write the  process  id
40       to
41          --no-pivot                 do  not  use  pivot  root to jail process
42       inside rootfs.  This should be used whenever the rootfs is on top of  a
43       ramdisk
44          --no-new-keyring           do  not  create a new session keyring for
45       the container.  This will cause the container to  inherit  the  calling
46       processes session key
47          --preserve-fds  value      Pass N additional file descriptors to the
48       container (stdio + $LISTEN_FDS + N in total) (default: 0)
49
50
51
52                                                                        NAME()
Impressum