Sign inSign up

killsnow/nexus3

By killsnow

Updated over 3 years ago

Image
1

292

killsnow/nexus3 repository overview

The killsnow/nexus3:3.49.0 Docker image on Docker Hub is a containerized version of the Nexus repository manager. With this image, you can easily manage your software artifacts in a distributed environment.

To run the image using the docker run command, you can use the following syntax:

docker run -p 8081:8081 -d killsnow/nexus3:3.49.0

This will start a containerized instance of Nexus on your local machine, with port 8081 mapped to the container's port 8081.

To persist your Nexus data, you can use Docker volumes. You can create a Docker volume with the following command:

docker volume create nexus-data

Then, you can run the Nexus container with the following command to mount the volume:

docker run -p 8081:8081 -v nexus-data:/nexus-data -d killsnow/nexus3:3.49.0

This will ensure that your Nexus data is persistent and survives across container restarts.

The docker-compose.yml file for the killsnow/nexus3:3.49.0 Docker image can be defined as follows:

version: '3'

services:
  nexus:
    image: killsnow/nexus3:3.49.0
ports:
  - "8081:8081"
volumes:
  - "nexus-data:/nexus-data"

volumes:
  nexus-data:

With this docker-compose.yml file, you can launch the Nexus container using the following command:

docker-compose up -d

This will start the container as a background process, and map the container's port 8081 to your host machine. Additionally, the volume nexus-data is mounted to ensure that your data is persistent.

Tag summary

Content type

Image

Digest

sha256:038c1abd7

Size

308 MB

Last updated

over 3 years ago

docker pull killsnow/nexus3:3.49.0