1containers-mounts.conf(5)     File Formats Manual    containers-mounts.conf(5)
2
3
4

NAME

6       containers-mounts.conf - configuration file for default mounts in
7       containers
8
9

DESCRIPTION

11       The mounts.conf file specifies volume mount directories that are
12       automatically mounted inside containers. Container processes can then
13       use this content. Usually these directories are used for passing
14       secrets or credentials required by the package software to access
15       remote package repositories. Note that for security reasons, tools
16       adhering to the mounts.conf are expected to copy the contents instead
17       of bind mounting the paths from the host.
18
19

FORMAT

21       The format of the mounts.conf is the volume format /SRC:/DEST, one
22       mount per line. For example, a mounts.conf with the line
23       /usr/share/secrets:/run/secrets would cause the contents of the
24       /usr/share/secrets directory on the host to be mounted on the
25       /run/secrets directory inside the container. Setting mountpoints allows
26       containers to use the files of the host, for instance, to use the
27       host's subscription to some enterprise Linux distribution.
28
29

FILES

31       Some distributions may provide a /usr/share/containers/mounts.conf file
32       to provide default mounts, but users can create a
33       /etc/containers/mounts.conf, to specify their own special volumes to
34       mount in the container.
35
36

HISTORY

38       Aug 2018, Originally compiled by Valentin Rothberg ⟨vrothberg@suse.com⟩
39
40
41
42                                                     containers-mounts.conf(5)
Impressum