Merge pull request #24034 from ndimiduk/patch-1

bin/docker support warning message suppression from user config dir
This commit is contained in:
openshift-merge-bot[bot] 2024-09-23 06:27:12 +00:00 committed by GitHub
commit 838e6bdffc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
[ -e ${ETCDIR}/containers/nodocker ] || \ [ -e ${ETCDIR}/containers/nodocker ] || [ -e "\${XDG_CONFIG_HOME-\$HOME/.config}/containers/nodocker" ] || \
echo "Emulate Docker CLI using podman. Create ${ETCDIR}/containers/nodocker to quiet msg." >&2 echo "Emulate Docker CLI using podman. Create ${ETCDIR}/containers/nodocker to quiet msg." >&2
exec ${BINDIR}/podman "$@" exec ${BINDIR}/podman "$@"