LoginSignup
0
0

More than 5 years have passed since last update.

nexus 2.14をDocker起動で、Not Foundエラー

Last updated at Posted at 2017-01-30

2.13では問題なくアクセスできていたが、2.14でブラウザアクセスすると、下記のエラーページが表示される。

HTTP ERROR: 404
Problem accessing /. Reason:
Not Found
Powered by Jetty://

2.14から、デフォルトのコンテキストパスが/nexusになった模様。
http://{{your server}}/nexus

利用者にURL変更をお願いする訳にはいかないので、コンテナ起動時に、コンテキストパスを指定することで、回避。

docker run -d \
  --name nexus \
  -p 8081:8081 \
  -v /nexus-data:/sonatype-work \
  -e CONTEXT_PATH=/ \
  sonatype/nexus
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0