Aaron, Guillaume, thank you for your reply.  I managed to get passed the
above issue.  But when I build image using Spotify Maven docker plugin, I
run into the following error from time-to-time (I got this error 3 out of 4
times)

[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.2.13:build
(default) on project sigmaadminui: Exception caught: Error: Status 400
trying to pull repository sigma_external/centos-java8: "{\n  \"errors\" : [
{\n    \"status\" : 400,\n    \"message\" : \"Unsupported docker v1
repository request for 'sigma-docker'\"\n  } ]\n}" -> [Help 1]

The httpd log shows 
10.0.110.168 - - [23/Sep/2015:14:07:40 -0500] "GET /v2/ HTTP/1.1" 401 77 "-"
"docker/1.8.2 go/go1.4.2 git-commit/0a8c2e3 kernel/3.10.0-123.el7.x86_64
os/linux arch/amd64"
10.0.110.168 - - [23/Sep/2015:14:07:40 -0500] "GET /v2/ HTTP/1.1" 401 77 "-"
"docker/1.8.2 go/go1.4.2 git-commit/0a8c2e3 kernel/3.10.0-123.el7.x86_64
os/linux arch/amd64"
10.0.110.168 - - [23/Sep/2015:14:07:40 -0500] "GET
/v1/repositories/sigma_external/centos-java8/images HTTP/1.1" 400 124 "-"
"docker/1.8.2 go/go1.4.2 git-commit/0a8c2e3 kernel/3.10.0-123.el7.x86_64
os/linux arch/amd64"

Does anyone have idea what's go wrong?

Here is my httpd config:
LoadModule ssl_module modules/mod_ssl.so

<VirtualHost *:443>
  ServerName artifactory.sigma-systems.com

  ErrorLog ${APACHE_LOG_DIR}/registry_error.log
  CustomLog ${APACHE_LOG_DIR}/registry_access.log combined

  SSLEngine on
  SSLCertificateFile      /data/users/docker/certs/smp_cert.pem
  SSLCertificateKeyFile   /data/users/docker/certs/smp_cert_key.pem
  SSLCertificateChainFile /data/users/docker/certs/gdig2.crt
  SSLProxyEngine on

  Header set Host "artifactory.sigma-systems.com"
  Header always set "Docker-Distribution-Api-Version" "registry/2.0"
  Header onsuccess set "Docker-Distribution-Api-Version" "registry/2.0"

  ProxyRequests off
  ProxyPreserveHost on

  ProxyPass         /
http://artifactory:8081/artifactory/api/docker/sigma-docker/
  ProxyPassReverse  /
http://artifactory:8081/artifactory/api/docker/sigma-docker/
</VirtualHost>





--
View this message in context: 
http://forums.jfrog.org/Push-large-size-docker-image-to-Artifactory-Docker-v2-registry-behind-Apache-httpd-tp7580464p7580483.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to