Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enforce "docker.io" to be the only search registry. Short-name resolution for remote clients is not fully supported since there is no means to prompt. Enforcing a single registry works around the problem since prompting only fires with more than one search registry. Without this patch docker/podman client not able to pull short-name images when using remote socket. ``` $ ssh -nNT -L $(pwd)/docker.sock:/run/podman/podman.sock -i /Users/prkumar/.ssh/podman-machine-default -p 64940 root@localhost ==== docker client ==== $ docker -H unix://$(pwd)/docker.sock pull httpd:latest Error response from daemon: failed to resolve image name: short-name resolution enforced but cannot prompt without a TTY === podman client === $ podman -c unix://$(pwd)/docker.sock pull httpd:latest Error: short-name resolution enforced but cannot prompt without a TTY ``` - containers/podman@6f36a47 - containers/podman#11489
- Loading branch information