mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00

The `bin/docker` command should also honor the presence of `$XDG_CONFIG_HOME/containers/nodocker` when considering whether it should print the warning message. Signed-off-by: Nick Dimiduk <ndimiduk@gmail.com>
5 lines
241 B
Bash
Executable File
5 lines
241 B
Bash
Executable File
#!/bin/sh
|
|
[ -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
|
|
exec ${BINDIR}/podman "$@"
|