Victoria Agafonova
Victoria Agafonova

Reputation: 2178

Is it possible to run sonatype/nexus3 docker container on macOS?

I'm trying to start Maven repository as Docker container with this command:

docker run -d -p 8081:8081 --name nexus sonatype/nexus3

When I do it on my Windows 10 host, everything is fine.

When I try the same on my macOS host, I get a lot of errors in logs. Eventually, Nexus3 starts somehow, but when I try to open http://localhost:8081/ it stacks forever on the initializing screen.

Is there any way to start Nexus on macOS?

Upvotes: 1

Views: 2548

Answers (2)

Victoria Agafonova
Victoria Agafonova

Reputation: 2178

Ok. It looks line now (13.09.2021) the desidion is to use klo2k/nexus3 version of Nexus on ARM

Upvotes: 3

Chris Hess
Chris Hess

Reputation: 207

I use also this image and it's work fine on my config (macOS Big Sur with Docker Desktop 3.6.0 on iMac Intel 64 Bits).

docker pull sonatype/nexus3

docker run -d -p 8081:8081 --name nexus sonatype/nexus3

Probably you have an issue in your Nexus config.

Upvotes: -2

Related Questions