58资源站 教程 简洁网盘h5ai目录列表程序 docker一键搭建

简洁网盘h5ai目录列表程序 docker一键搭建

项目介绍https://hub.docker.com/r/clue/h5ai

h5ai搭建教程

使用方法:

docker run -d --name=h5ai -it --rm -p 8088:80 -v /root/h5ai:/var/www clue/h5ai

简介

This docker image is available as an automated build on Docker Hub, so there's no setup required. Using this image for the first time will start a download automatically. Further runs will be immediate, as the image will be cached locally.

The recommended way to run this container looks like this:

$ docker run -it --rm -p 80:80 -v `pwd`:/var/www clue/h5ai
You can now point your webbrowser to this URL:

http://localhost/
This is a rather common setup following docker's conventions:

-it will run an interactive session that can be terminated with CTRL+C
--rm will run a temporary session that will make sure to remove the container on exit
-v {AnyDirectory}:/var/www will mount the given directory as the base directory for the browsable directory index
-p {OutsidePort}:80 will bind the webserver to the given outside port
clue/h5ai the name of this docker image

 

本文来自网络,不代表58资源站立场,转载请注明出处:https://www.58ziyuanzhan.com/2020/h5ai-docker/
上一篇
下一篇

发表评论

联系我们

联系我们

邮箱: [email protected]

工作时间:996
关注微信
微信扫一扫关注我们

微信扫一扫关注我们

返回顶部