2016-10-09 17:36:43 +00:00
|
|
|
% ocid.conf(5) Open Container Initiative Daemon
|
|
|
|
% Aleksa Sarai
|
|
|
|
% OCTOBER 2016
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
ocid.conf - Syntax of OCID configuration file
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
The OCID configuration file specifies all of the available command-line options
|
|
|
|
for the ocid(8) program, but in a TOML format that can be more easily modified
|
|
|
|
and versioned.
|
|
|
|
|
|
|
|
# FORMAT
|
|
|
|
The [TOML format][toml] is used as the encoding of the configuration file.
|
|
|
|
Every option and subtable listed here is nested under a global "ocid" table.
|
|
|
|
No bare options are used. The format of TOML can be simplified to:
|
|
|
|
|
|
|
|
[table]
|
|
|
|
option = value
|
|
|
|
|
|
|
|
[table.subtable1]
|
|
|
|
option = value
|
|
|
|
|
|
|
|
[table.subtable2]
|
|
|
|
option = value
|
|
|
|
|
|
|
|
## OCID TABLE
|
|
|
|
|
|
|
|
The `ocid` table supports the following options:
|
|
|
|
|
|
|
|
|
|
|
|
**root**=""
|
2017-03-16 21:28:54 +00:00
|
|
|
OCID root dir (default: "/var/lib/containers/storage")
|
2016-10-18 14:48:33 +00:00
|
|
|
|
|
|
|
**runroot**=""
|
2017-03-16 21:28:54 +00:00
|
|
|
OCID state dir (default: "/var/run/containers/storage")
|
2016-10-09 17:36:43 +00:00
|
|
|
|
2016-10-18 14:48:33 +00:00
|
|
|
**storage_driver**=""
|
|
|
|
OCID storage driver (default is "devicemapper")
|
2016-10-09 17:36:43 +00:00
|
|
|
|
2016-10-18 14:48:33 +00:00
|
|
|
**storage_option**=[]
|
|
|
|
OCID storage driver option list (no default)
|
2016-10-09 17:36:43 +00:00
|
|
|
|
|
|
|
## OCID.API TABLE
|
|
|
|
|
|
|
|
**listen**=""
|
|
|
|
Path to ocid socket (default: "/var/run/ocid.sock")
|
|
|
|
|
|
|
|
## OCID.RUNTIME TABLE
|
|
|
|
|
|
|
|
**conmon**=""
|
2016-10-24 17:08:17 +00:00
|
|
|
Path to the conmon executable (default: "/usr/libexec/ocid/conmon")
|
|
|
|
|
|
|
|
**conmon_env**=[]
|
|
|
|
Environment variable list for conmon process (default: ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",])
|
2016-10-09 17:36:43 +00:00
|
|
|
|
|
|
|
**runtime**=""
|
|
|
|
OCI runtime path (default: "/usr/bin/runc")
|
|
|
|
|
2016-11-30 08:36:07 +00:00
|
|
|
**selinux**=*true*|*false*
|
2016-10-09 17:36:43 +00:00
|
|
|
Enable selinux support (default: false)
|
|
|
|
|
2016-10-18 14:48:33 +00:00
|
|
|
**signature_policy**=""
|
|
|
|
Path to the signature policy json file (default: "", to use the system-wide default)
|
|
|
|
|
2016-11-30 08:36:07 +00:00
|
|
|
**seccomp_profile**=""
|
2016-11-23 09:41:48 +00:00
|
|
|
Path to the seccomp json profile to be used as the runtime's default (default: "/etc/ocid/seccomp.json")
|
|
|
|
|
2016-11-30 08:36:07 +00:00
|
|
|
**apparmor_profile**=""
|
|
|
|
Name of the apparmor profile to be used as the runtime's default (default: "ocid-default")
|
|
|
|
|
2016-10-09 17:36:43 +00:00
|
|
|
## OCID.IMAGE TABLE
|
|
|
|
|
2016-10-18 14:48:33 +00:00
|
|
|
**default_transport**
|
|
|
|
A prefix to prepend to image names that can't be pulled as-is (default: "docker://")
|
|
|
|
|
|
|
|
**pause_command**=""
|
|
|
|
Path to the pause executable in the pause image (default: "/pause")
|
|
|
|
|
|
|
|
**pause_image**=""
|
|
|
|
Image which contains the pause executable (default: "kubernetes/pause")
|
2016-10-09 17:36:43 +00:00
|
|
|
|
2016-12-17 11:23:07 +00:00
|
|
|
## OCID.NETWORK TABLE
|
|
|
|
|
|
|
|
**network_dir**=""
|
|
|
|
Path to CNI configuration files (default: "/etc/cni/net.d/")
|
|
|
|
|
|
|
|
**plugin_dir**=""
|
|
|
|
Path to CNI plugin binaries (default: "/opt/cni/bin/")
|
|
|
|
|
2016-10-09 17:36:43 +00:00
|
|
|
# SEE ALSO
|
|
|
|
ocid(8)
|
|
|
|
|
|
|
|
# HISTORY
|
|
|
|
Oct 2016, Originally compiled by Aleksa Sarai <asarai@suse.de>
|