summaryrefslogtreecommitdiff
path: root/test/apiv2/containers.conf
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-30 16:30:23 +0100
committerGitHub <noreply@github.com>2021-11-30 16:30:23 +0100
commit771f8c628bef17eb183efce8c7ee7a91cbf4087b (patch)
treeadad2324e3c5f094785a411cb537d8f922a3fafc /test/apiv2/containers.conf
parent8de68b170716dd1293c5a044f3e9cfd962fdbfb1 (diff)
parent5bdd571b1e46f26e23f030456efb009cbb765e4c (diff)
downloadpodman-771f8c628bef17eb183efce8c7ee7a91cbf4087b.tar.gz
podman-771f8c628bef17eb183efce8c7ee7a91cbf4087b.tar.bz2
podman-771f8c628bef17eb183efce8c7ee7a91cbf4087b.zip
Merge pull request #12435 from vrothberg/fix-12320
compat API: allow enforcing short-names resolution to Docker Hub
Diffstat (limited to 'test/apiv2/containers.conf')
-rw-r--r--test/apiv2/containers.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/apiv2/containers.conf b/test/apiv2/containers.conf
new file mode 100644
index 000000000..24762192f
--- /dev/null
+++ b/test/apiv2/containers.conf
@@ -0,0 +1,8 @@
+# This containers.conf file is used to test enforcing short-name resolution to
+# docker.io for Podman's *compat* API. By default, the compat API defaults to
+# resolving to docker.io only. The behavior can be altered by configuring the
+# containers.conf as done below in which case short names are subject to aliases,
+# "localhost/" and the unqualified-search registries.
+
+[engine]
+compat_api_enforce_docker_hub=false