Closed gmacario closed 6 years ago
According to https://www.sonatype.com/nexus-repository-comparison, support for Docker artifacts is only available in the Artifactory Pro Edition, while it is available in the Nexus Repository OSS - together with a few other component formats (NPM, GEM, Python, etc).
Notice that the limited number of types supported by Artifactory OSS edition is confirmed by https://github.com/gmacario/easy-jenkins/issues/211
Re: "Compare features and popularity of Sonatype Nexus vs JFrog Artifactory" please see https://binary-repositories-comparison.github.io/.
From Section 2.5. Installing with Docker of book "Nexus Repository Manager 3.3":
To install the repository manager with a Docker image, follow the steps at the Sonatype nexus3 Docker Hub image.
The git repo is https://github.com/sonatype/docker-nexus3.
To run, binding the exposed port 8081 to the host.
$ docker run -d -p 8081:8081 --name nexus sonatype/nexus3
To test:
$ curl -u admin:admin123 http://docker-host:8081/service/metrics/ping
Example:
gmacario@ITM-GPAOLO-W10:~ $ curl -u admin:admin123 http://192.168.99.100:8081/service/metrics/ping
pong
gmacario@ITM-GPAOLO-W10:~ $
Browse Nexus Repository Manager at URL http://docker-host:8081/ - example: http://192.168.99.100:8081/
Result: OK
Adding new service nexus
via PR https://github.com/gmacario/easy-jenkins/pull/215
docker-compose
==> See PR https://github.com/gmacario/easy-jenkins/pull/215