docker-nexus3 | Dockerized version of Nexus Repo Manager | Continuous Deployment library
kandi X-RAY | docker-nexus3 Summary
kandi X-RAY | docker-nexus3 Summary
A Dockerfile for Sonatype Nexus Repository Manager 3, starting with 3.18 the image is based on the Red Hat Universal Base Image while earlier versions used CentOS.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-nexus3
docker-nexus3 Key Features
docker-nexus3 Examples and Code Snippets
Community Discussions
Trending Discussions on docker-nexus3
QUESTION
I am trying to store nexus data in persistent volume. To do that I am using this compose yaml:
...ANSWER
Answered 2020-Jan-08 at 11:41You defined a volume instead of a bind mount, which is what you want. Read the documentation about it.
Basically, your configuration makes docker create a volume
, which maps to a ramdomly created directory somewhere under /var/lib/docker/volumes
.
If you want a specific directory that you control, you have to create a bind
. That's the reason you don't have data on your chosen directory, as docker ignores it because it is not useful for a volume
.
For it to work, set it like:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-nexus3
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page