I want to check the docker connection with user password and I use the following:
curl -H "Authorization: BASIC [base64user:pass]" https://myregistry.