add containers-storage.conf man page
This commit is contained in:
parent
16ebea90ad
commit
c154afe160
@ -1,16 +1,16 @@
|
||||
% storage.conf(5) Container Storage Configuration File
|
||||
% containers-storage.conf(5) Container Storage Configuration File
|
||||
% Dan Walsh
|
||||
% May 2017
|
||||
|
||||
# NAME
|
||||
storage.conf - Syntax of Container Storage configuration file
|
||||
|
||||
# DESCRIPTION
|
||||
## DESCRIPTION
|
||||
The STORAGE configuration file specifies all of the available container storage options
|
||||
for tools using shared container storage, but in a TOML format that can be more easily modified
|
||||
and versioned.
|
||||
|
||||
# FORMAT
|
||||
## 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 "storage" table.
|
||||
No bare options are used. The format of TOML can be simplified to:
|
||||
@ -131,6 +131,33 @@ Specifies the maximum number of retries XFS should attempt to complete IO when E
|
||||
**skip_mount_home=""**
|
||||
Tell storage drivers to not create a PRIVATE bind mount on their home directory.
|
||||
|
||||
# HISTORY
|
||||
## SElinux labeling.
|
||||
|
||||
When running on an SELinux system, if you move the containers storage graphroot directory, you must make sure the labeling is correct.
|
||||
|
||||
Tell SELinux about the new containers storage by setting up an equivalence record.
|
||||
This tells SELinux to label content under the new path, as if it was stored
|
||||
under `/var/lib/containers/storage`.
|
||||
|
||||
```
|
||||
semanage fcontext -a -e /var/lib/containers NEWSTORAGEPATH
|
||||
restorecon -R -v /src/containers
|
||||
```
|
||||
|
||||
The semanage command above tells SELinux to setup the default labeling of
|
||||
`NEWSTORAGEPATH` to match `/var/lib/containers`. The `restorecon` command
|
||||
tells SELinux to apply the labels to the actual content.
|
||||
|
||||
Now all new content created in these directories will automatically be created
|
||||
with the correct label.
|
||||
|
||||
## SEE ALSO
|
||||
`semanage(8)`, `restorecon(8)`
|
||||
|
||||
## FILES
|
||||
|
||||
Distributions often provide a /usr/share/containers/storage.conf file to define default storage configuration. Administrators can override this file by creating `/etc/containers/storage.conf` to specify their own configuration. The storage.conf file for rootless users is stored in the $HOME/.config/containers/storage.conf file.
|
||||
|
||||
## HISTORY
|
||||
May 2017, Originally compiled by Dan Walsh <dwalsh@redhat.com>
|
||||
Format copied from crio.conf man page created by Aleksa Sarai <asarai@suse.de>
|
||||
|
@ -39,7 +39,7 @@ Epoch: 1
|
||||
Epoch: 0
|
||||
%endif
|
||||
Version: 0.1.36
|
||||
Release: 9.dev.git%{shortcommit0}%{?dist}
|
||||
Release: 10.dev.git%{shortcommit0}%{?dist}
|
||||
Summary: Inspect Docker images and repositories on registries
|
||||
License: ASL 2.0
|
||||
URL: %{git0}
|
||||
@ -51,6 +51,7 @@ Source4: containers-registries.conf.5.md
|
||||
Source5: registries.conf
|
||||
Source6: policy.json.5.md
|
||||
Source7: seccomp.json
|
||||
Source8: containers-mounts.conf.5.md
|
||||
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: go-srpm-macros
|
||||
@ -288,6 +289,7 @@ go-md2man -in %{SOURCE4} -out %{buildroot}%{_mandir}/man5/containers-registries.
|
||||
install -p -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/containers/
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/containers/certs.d
|
||||
go-md2man -in %{SOURCE6} -out %{buildroot}%{_mandir}/man5/policy.json.5
|
||||
go-md2man -in %{SOURCE8} -out %{buildroot}%{_mandir}/man5/containers-mounts.conf.5
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/containers
|
||||
install -m0644 %{SOURCE3} %{buildroot}%{_datadir}/containers/mounts.conf
|
||||
@ -384,6 +386,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
|
||||
%changelog
|
||||
* Thu Apr 11 2019 Dan Walsh <dwalsh@fedoraproject.org> - 1:0.1.36-10.dev.gitc73bcba
|
||||
- add containers-storage.conf man page
|
||||
|
||||
* Tue Apr 09 2019 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 1:0.1.36-9.dev.gitc73bcba
|
||||
- autobuilt c73bcba
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user