docker安装showdoc

docker命令:

DOCKER_VOLUME_HOME=/home/docker
mkdir -p $DOCKER_VOLUME_HOME/showdoc/html
chmod  -R 777 $DOCKER_VOLUME_HOME/showdoc
docker run -d --name showdoc --restart=always -p 80:80 -v $DOCKER_VOLUME_HOME/showdoc/html:/var/www/html/ star7th/showdoc
chmod  -R 777 $DOCKER_VOLUME_HOME/showdoc

podman命令:

VOL_HOME=/data/podman;
mkdir -p $VOL_HOME/showdoc/html;
chmod  -R 777 $VOL_HOME/showdoc;
podman run -d --name showdoc --restart=always -p 8088:80 -v $VOL_HOME/showdoc/html:/var/www/html/ star7th/showdoc;
chmod  -R 777 $VOL_HOME/showdoc;
© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享