Why does docker or remote repository show 404 response when testing authentication


Docker or NPM remote repo setup


When setting up Docker or NPM repositories proxying another artifactory instance, the URL will need a modification for the repository to function correctly.


The URL will need to include"/api/docker" or "/api/npm":

http://my-remote-site:8081/artifactory/api/docker/<repository key>

This is because docker and npm clients talk to api endpoints rather than http calls.