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

SYNOPSIS

10       runc run [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  run  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          --detach, -d              detach from the container's process
40          --pid-file value          specify the file to write the  process  id
41       to
42          --no-subreaper             disable  the use of the subreaper used to
43       reap reparented processes
44          --no-pivot                do not use  pivot  root  to  jail  process
45       inside  rootfs.  This should be used whenever the rootfs is on top of a
46       ramdisk
47          --no-new-keyring          do not create a new  session  keyring  for
48       the  container.   This  will cause the container to inherit the calling
49       processes session key
50          --preserve-fds value      Pass N additional file descriptors to  the
51       container (stdio + $LISTEN_FDS + N in total) (default: 0)
52
53
54
55                                                                        NAME()
Impressum