docker deployment showdoc Java API documentation

Copyright Notice: Copyright © 2018-2019 cool white open no ice Copyright https://blog.csdn.net/qq_21082615/article/details/91427574

Description: Online API documentation is a very suitable IT team, technical documentation tools. You can use Showdoc to write online API documentation, technical documentation, data dictionary, online manual

1、国内镜像地址
docker pull registry.docker-cn.com/star7th/showdoc

2、国外官方镜像
docker pull star7th/showdoc

3、新建存放showdoc数据的目录
mkdir /showdoc_data
mkdir /showdoc_data/html
chmod 777 -R /showdoc_data 给目录赋权限

4、启动showdoc容器
docker run -d --name showdoc -p 4999:80 -v /showdoc_data/html:/var/www/html/ registry.docker-cn.com/star7th/showdoc 

5、访问界面
ip地址:4999  默认账号密码showdoc/123456

Guess you like

Origin blog.csdn.net/qq_21082615/article/details/91427574
Recommended