Skip to content

Commit

Permalink
Add etc/containers/registries.conf
Browse files Browse the repository at this point in the history
Also set CONTAINERS_REGISTRIES_CONF, as it appears to hardcode ~/.config
for XDG_CONFIG_HOME [1] [2].

[1] containers/image#1647
[2] containers/image#2450
  • Loading branch information
martinwe-adfinis committed Sep 1, 2024
1 parent f1eb5be commit 058d443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/containers/registries.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unqualified-search-registries = ["docker.io"]
1 change: 1 addition & 0 deletions etc/environment.d/10-xdg.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 058d443

Please sign in to comment.