Skip to content

Commit ec6040b

Browse files
committed
containers.conf: document compat_api_enforce_docker_hub
Mention it in the man page. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
1 parent 022e900 commit ec6040b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/containers.conf.5.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,12 @@ Name of destination for accessing the Podman service. See SERVICE DESTINATION TA
422422
The cgroup management implementation used for the runtime. Supports `cgroupfs`
423423
and `systemd`.
424424

425+
**compat_api_enforce_docker_hub**=true
426+
427+
Enforce using docker.io for completing short names in Podman's compatibility
428+
REST API. Note that this will ignore unqualified-search-registries and
429+
short-name aliases defined in containers-registries.conf(5).
430+
425431
**conmon_env_vars**=[]
426432

427433
Environment variables to pass into Conmon.

pkg/config/containers.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,11 @@ default_sysctls = [
376376
#
377377
#active_service = "production"
378378

379+
# Enforces using docker.io for completing short names in Podman's compatibility
380+
# REST API. Note that this will ignore unqualified-search-registries and
381+
# short-name aliases defined in containers-registries.conf(5).
382+
#compat_api_enforce_docker_hub = true
383+
379384
# The compression format to use when pushing an image.
380385
# Valid options are: `gzip`, `zstd` and `zstd:chunked`.
381386
#

0 commit comments

Comments
 (0)