自学内容网 自学内容网

Docker 安装 nexus3

docker pull sonatype/nexus3

[root@flexusx-328569 data]# chmod 777 -R /data/nexus/data
[root@flexusx-328569 data]# docker image inspect sonatype/nexus3:latest | grep -i version
        "DockerVersion": "",
                "com.sonatype.license": "Apache License, Version 2.0",
                "io.buildah.version": "1.33.8",
                "version": "3.75.1-01"
[root@flexusx-328569 data]# docker run -d --name nexus3 -p 8092:8081 --restart always -v /data/nexus/data:/nexus-data sonatype/nexus3:latest
9782e3de55ff2d0a406178d946530b128acb270c614327bb9187f851412dbcbb

[root@flexusx-328569 data]# docker logs -f 9782
2024-12-06 05:36:03,359+0000 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.pax.logging.NexusLogActivator - start
2024-12-06 05:36:03,562+0000 WARN  [FelixStartLevel] *SYSTEM javax.xml.bind - Using non-standard property: javax.xml.bind.JAXBContext. Property javax.xml.bind.JAXBContextFactory should be used instead.
2024-12-06 05:36:03,700+0000 INFO  [FelixStartLevel] *SYSTEM org.sonatype.nexus.features.internal.FeaturesWrapper - Fast FeaturesService starting
2024-12-06 05:36:03,799+0000 WARN  [FelixStartLevel] *SYSTEM javax.xml.bind - Using non-standard property: javax.xml.bind.JAXBContext. Property javax.xml.bind.JAXBContextFactory should be used instead.
2024-12-06 05:36:04,575+0000 INFO  [FelixStartLevel] *SYSTEM ROOT - bundle org.apache.felix.scr:2.1.30 (56) Starting with globalExtender setting: false
2024-12-06 05:36:04,581+0000 INFO  [FelixStartLevel] *SYSTEM ROOT - bundle org.apache.felix.scr:2.1.30 (56)  Version = 2.1.30
2024-12-

……………………


2024-12-06 05:36:34,732+0000 INFO  [jetty-main-1] *SYSTEM org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@50fe3a48{HTTP/1.1, (http/1.1)}{0.0.0.0:8081}
2024-12-06 05:36:34,732+0000 INFO  [jetty-main-1] *SYSTEM org.eclipse.jetty.server.Server - Started @32898ms
2024-12-06 05:36:34,733+0000 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - 
-------------------------------------------------

Started Sonatype Nexus OSS 3.75.1-01

-------------------------------------------------
^C
[root@flexusx-328569 data]#
[root@flexusx-328569 data]# cat /data/nexus/data/admin.password 
946c4be2-5d8f-4271-885f-daea8fb9de94

[root@flexusx-328569 data]#

 

 启用匿名访问

 

 

 

 调整顺序

 


原文地址:https://blog.csdn.net/piaomiao_/article/details/144290451

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!