dotfiles/bin/docker_registry_catalog

8 lines
144 B
Plaintext
Raw Normal View History

2021-01-10 14:35:15 +00:00
#!/bin/sh
if [ "$#" -lt 2 ]; then
echo "Usage: $0 <https://domain:port> <user>"
exit 1
fi
curl -X GET --basic -u "$1" "$0/v2/_catalog"