Hi, On Artifactory v4.3.2, a docker remote repository (on "Docker Hub") seems not use the proxy configured in advanced tab.
Consider a simple docker configuration like doc<https://www.jfrog.com/confluence/display/RTF/Docker+Repositories> : docker-local & docker-remote (behing company proxy) & docker-virtual (entry point). This scenario works and validate the installation (internet proxy configured for docker deamon, for this sample ... the objective is to use Artifactory as proxy) $ docker pull busybox $ docker tag busybox repository.company.com/test $ docker push repository.company.com/test $ docker images -aq | xargs docker rmi -f $ docker pull repository.company.com/test But trying using Artifactory as registry proxy for official images: $ docker pull repository.company.com/ubuntu Gives : "FATA[0001] Error: Status 400 trying to pull repository ubuntu: "{\n \"errors\" : [ {\n \"status\" : 400,\n \"message\" : \"Unsupported docker v1 repository request for 'docker'\"\n } ]\n}"" In Artifactory log : --- 2015-12-16 14:42:28,001 [ajp-nio-8019-exec-4] [DEBUG] (o.a.u.PreemptiveAuthInterceptor:59) - Updating credentials for host https://registry-1.docker.io 2015-12-16 14:42:29,173 [ajp-nio-8019-exec-4] [ERROR] (o.a.a.d.r.DockerTokenProvider:183) - Error occurred while retrieving token from 'https://auth.docker.io/token?scope=repository:library/ubuntu:pull&service=registry.docker.io': auth.docker.io: unknown error 2015-12-16 14:42:29,182 [ajp-nio-8019-exec-4] [DEBUG] (o.a.a.d.r.DockerTokenProvider:184) - Error occurred while retrieving token from 'https://auth.docker.io/token?scope=repository:library/ubuntu:pull&service=registry.docker.io'. java.net.UnknownHostException: auth.docker.io: unknown error at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) ~[na:1.8.0_60] --- => The internet proxy configured for docker-remote (here: https://registry-1.docker.io/) seems not used for "sub call", like https://auth.docker.io Workaround: Configuring the proxy as "System Default" solve the problem, but has some impacts on company domain requests ("no hosts" can't be configured on the proxy). Best regards. Alix
------------------------------------------------------------------------------
_______________________________________________ Artifactory-users mailing list Artifactory-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/artifactory-users