summaryrefslogtreecommitdiff
path: root/docs/configuration/container/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration/container/index.rst')
-rw-r--r--docs/configuration/container/index.rst52
1 files changed, 52 insertions, 0 deletions
diff --git a/docs/configuration/container/index.rst b/docs/configuration/container/index.rst
index 979996b0..228754cc 100644
--- a/docs/configuration/container/index.rst
+++ b/docs/configuration/container/index.rst
@@ -124,6 +124,15 @@ Configuration
Volume is either mounted as rw (read-write - default) or ro (read-only)
+.. cfgcmd:: set container name <name> tmpfs <tmpfsname> destination <path>
+
+ Mount a tmpfs *(ramdisk)* filesystem to the given path within the container.
+
+.. cfgcmd:: set container name <name> tmpfs <tmpfsname> size <MB>
+
+ Size in MB for tmpfs filesystem, maximum size is 64GB or 50% of the
+ systems total available memory.
+
.. cfgcmd:: set container name <name> uid <number>
.. cfgcmd:: set container name <name> gid <number>
@@ -243,6 +252,49 @@ Container Registry
Credentials can be defined here and will only be used when adding a
container image to the system.
+.. cfgcmd:: set container registry <name> insecure
+
+ Allow registry access over unencrypted HTTP or TLS connections with
+ untrusted certificates.
+
+.. cfgcmd:: set container registry <name> mirror address <address>
+
+.. cfgcmd:: set container registry <name> mirror host-name <host-name>
+
+.. cfgcmd:: set container registry <name> mirror port <port>
+
+.. cfgcmd:: set container registry <name> mirror path <path>
+
+ Registry mirror, use ``(host-name|address)[:port][/path]``.
+
+ If you have mirror http://192.168.1.1:8080 for docker.io, you can use ``docker.io/some/repo`` or run ``podman pull docker.io/some/repo``
+
+ .. code-block:: none
+
+ set container registry docker.io mirror address 192.168.1.1
+ set container registry docker.io mirror port 8080
+ set container registry docker.io insecure
+
+ If http://192.168.1.1:8080 is your own registry, you can use ``192.168.1.1:8080/some/repo`` or run ``podman pull 192.168.1.1:8080/some/repo``
+
+ .. code-block:: none
+
+ set container registry 192.168.1.1:8080 insecure
+
+
+Log Configuration
+====================
+
+.. cfgcmd:: set container name <name> log-driver [k8s-file | journald | none]
+
+ Set the default log driver for containers.
+
+ - **k8s-file**: Log to a plain text file in Kubernetes-style format.
+ - **journald**: Log to the system journal
+ - **none**: Disable logging for the container
+
+ Current default is journald.
+
******************
Operation Commands