adamant-kite-43734
05/16/2024, 9:58 AMpowerful-librarian-10572
05/16/2024, 10:49 AM<http://labo.bi:8082/nexus2/docker/(reponame)>
or
<http://labo.bi:8082/nexus2/(reponame)>
maybe?powerful-librarian-10572
05/16/2024, 10:49 AMpowerful-librarian-10572
05/16/2024, 10:50 AMRewriteCond "%{REQUEST_URI}" "^/(v1|v2)/"
RewriteCond "%{HTTP_HOST}" "^docker.mycompany.com$"
RewriteRule "^/(v1|v2)/(.*)$" "/artifactory/api/docker/docker/$1/$2"
and i can user docker.mycompany.com/nginx:latest and it worksfew-coat-36487
05/16/2024, 12:51 PM[root@server1 ~]# docker pull 192.168.137.50:8082/nginx
Using default tag: latest
latest: Pulling from nginx
09f376ebb190: Pulling fs layer
a11fc495bafd: Downloading [> ] 419.3kB/41.83MB
933cc8470577: Pulling fs layer
999643392fb7: Waiting
971bb7f4fb12: Waiting
45337c09cd57: Pulling fs layer
de3b062c0af7: Waiting
But before that I did configure the /etc/docker/daemon.json
{
"insecure-registries": [
"<http://repo.labo.bi:8082|repo.labo.bi:8082>",
"192.168.137.50:8082",
"<http://repo.labo.bi:8083|repo.labo.bi:8083>",
"192.168.137.50:8083"
],
"registry-mirrors": [
"<http://repo.labo.bi:8082>",
"<http://192.168.137.50:8082>",
"<http://repo.labo.bi:8083>",
"<http://192.168.137.50:8083>"
]
}
few-coat-36487
05/16/2024, 12:52 PMpowerful-librarian-10572
05/16/2024, 12:52 PMpowerful-librarian-10572
05/16/2024, 12:52 PMpowerful-librarian-10572
05/16/2024, 12:53 PMfew-coat-36487
05/16/2024, 12:53 PMfew-coat-36487
05/16/2024, 12:54 PM/etc/docker/daemon.json
?powerful-librarian-10572
05/16/2024, 12:54 PMpowerful-librarian-10572
05/16/2024, 12:55 PMpowerful-librarian-10572
05/16/2024, 12:55 PMfew-coat-36487
05/16/2024, 12:58 PMpowerful-librarian-10572
05/16/2024, 12:59 PMfew-coat-36487
05/16/2024, 12:59 PMpowerful-librarian-10572
05/16/2024, 12:59 PMpowerful-librarian-10572
05/16/2024, 12:59 PMpowerful-librarian-10572
05/16/2024, 1:00 PMfew-coat-36487
05/16/2024, 1:00 PMpowerful-librarian-10572
05/16/2024, 1:01 PMfew-coat-36487
05/16/2024, 1:02 PMfew-coat-36487
05/16/2024, 1:02 PMfew-coat-36487
05/16/2024, 1:02 PMpowerful-librarian-10572
05/16/2024, 1:02 PMpowerful-librarian-10572
05/16/2024, 1:03 PMfew-coat-36487
05/16/2024, 1:03 PMpowerful-librarian-10572
05/16/2024, 1:04 PMpowerful-librarian-10572
05/16/2024, 1:04 PMpowerful-librarian-10572
05/16/2024, 1:05 PMfew-coat-36487
05/16/2024, 1:05 PM<http://docker.mycompany.com/myimage:tag|docker.mycompany.com/myimage:tag>
so it know were to gopowerful-librarian-10572
05/16/2024, 1:05 PMfew-coat-36487
05/16/2024, 1:06 PMpowerful-librarian-10572
05/16/2024, 1:06 PMpowerful-librarian-10572
05/16/2024, 1:07 PMpowerful-librarian-10572
05/16/2024, 1:08 PMfew-coat-36487
05/16/2024, 1:09 PMhttp : server gave HTTP response to HTTPS client
Once I did get something like this.powerful-librarian-10572
05/16/2024, 4:09 PMfew-coat-36487
05/17/2024, 11:02 AM