From f12a1defe59bfd6f7ba747375525784d441cb07d Mon Sep 17 00:00:00 2001 From: Martin Weber Date: Thu, 13 Jun 2024 16:05:11 +0200 Subject: [PATCH] Add etc/containers/registries.conf Also set CONTAINERS_REGISTRIES_CONF, as it appears to hardcode ~/.config for XDG_CONFIG_HOME [1] [2]. [1] https://github.com/containers/image/issues/1647 [2] https://github.com/containers/image/pull/2450 --- etc/containers/registries.conf | 1 + etc/environment.d/10-xdg.conf | 1 + 2 files changed, 2 insertions(+) create mode 100644 etc/containers/registries.conf diff --git a/etc/containers/registries.conf b/etc/containers/registries.conf new file mode 100644 index 00000000..d44d892d --- /dev/null +++ b/etc/containers/registries.conf @@ -0,0 +1 @@ +unqualified-search-registries = ["docker.io"] diff --git a/etc/environment.d/10-xdg.conf b/etc/environment.d/10-xdg.conf index 7e775a98..0b5ac8a4 100644 --- a/etc/environment.d/10-xdg.conf +++ b/etc/environment.d/10-xdg.conf @@ -36,6 +36,7 @@ XDG_LOG_HOME="$HOME/.local/var/log" AZURE_CONFIG_DIR="$XDG_STATE_HOME/azure" CARGO_HOME="$XDG_STATE_HOME/cargo" CHECKUPDATES_DB="$XDG_STATE_HOME/pacman/checkupdates" +CONTAINERS_REGISTRIES_CONF="$XDG_CONFIG_HOME/containers/registries.conf" DVDCSS_CACHE="$XDG_CACHE_HOME/dvdcss" GIMP2_DIRECTORY="$XDG_STATE_HOME/gimp" GNUPGHOME="$XDG_STATE_HOME/gnupg"