ARTIFACTORY: What to do when docker pulls work, but docker pushes fail with ‘unauthorized”

ARTIFACTORY: What to do when docker pulls work, but docker pushes fail with ‘unauthorized”

AuthorFullName__c
Nir Ovadia
articleNumber
000005623
ft:sourceType
Salesforce
FirstPublishedDate
2023-03-19T09:52:14Z
lastModifiedDate
2023-03-19T10:59:02Z
VersionNumber
1
What to do when docker pulls work, but docker pushes fail with ‘unauthorized’ or ‘EOF’:

This can be a bit of a confusing situation. In this case, docker pull works successfully, but when a docker push occurs it follows a strange behavior. The layers seem to get pushed, then start retrying, then you get something like an “unauthorized” message at the bottom. The credentials are correct and there isn’t much information in the docker logs, so the unauthorized message seems to come from nowhere and doesn’t help much with debugging. These usually look as so

User-added imageUser-added image