Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
containers-mounts.conf(5)()			     containers-mounts.conf(5)()

NAME
     containers-mounts.conf  - configuration file for default mounts in contain-
     ers

DESCRIPTION
     The mounts.conf file specifies volume mount directories that are  automati-
     cally mounted inside containers. Container processes can then use this con-
     tent. Usually these directories are used for passing secrets or credentials
     required  by  the	package  software to access remote package repositories.
     Note that for security reasons, tools adhering to the mounts.conf	are  ex-
     pected  to  copy  the  contents instead of bind mounting the paths from the
     host.

FORMAT
     The format of the mounts.conf is the volume format  /SRC:/DEST,  one  mount
     per   line.  For  example,  a  mounts.conf  with  the  line  /usr/share/se-
     crets:/run/secrets would cause the contents of the  /usr/share/secrets  di-
     rectory  on the host to be mounted on the /run/secrets directory inside the
     container. Setting mountpoints allows containers to use the  files  of  the
     host, for instance, to use the host's subscription to some enterprise Linux
     distribution.

FILES
     Some  distributions may provide a /usr/share/containers/mounts.conf file to
     provide default mounts, but users can create a /etc/containers/mounts.conf,
     to specify their own special volumes to mount in the container. When Podman
     runs in rootless mode, the file  $HOME/.config/containers/mounts.conf  will
     override the default if it exists.

HISTORY
     Aug  2018,  Originally  compiled  by  Valentin  Rothberg vrothberg@suse.com
     <mailto:vrothberg@suse.com>

						     containers-mounts.conf(5)()

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=containers-mounts.conf&sektion=5&manpath=FreeBSD+Ports+15.1.quarterly>

home | help