场景
Docker-Compose简介与Ubuntu Server 上安装Compose:
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100902301
Docker Compose基本使用-使用Compose启动Tomcat为例:
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100904080
Docker Compose部署项目到容器-基于Tomcat和mysql的商城项目(附源码和sql下载):
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100941366
在上面实现基本的Compose的操作的基础上,实现使用Docker Compose搭建Nexus3。
注:
博客:
https://blog.csdn.net/badao_liumang_qizhi
关注公众号
霸道的程序猿
获取编程相关电子书、教程推送与免费下载。
实现
version: ‘3‘ services: nexus: restart: always image: sonatype/nexus3 container_name: nexus3 ports: - 8081:8081 volumes: - /usr/local/docker/nexus/nexus-data:/nexus-data
原文地址:https://www.cnblogs.com/badaoliumangqizhi/p/11563555.html
时间: 2024-11-05 03:29:03