bepasty-docker是bepasty-server的Docker自动构建镜像,用于快速部署文件共享服务器,支持数据持久化存储、配置自定义及自动重启,便于个人或团队进行文件上传与共享。
bepasty-docker
Docker automated build repository for the https://github.com/bepasty/bepasty-server
Usage
Install docker on your system. for the restart feature you need at least docker 1.2. http://docs.docker.com/installation/
First start/"setup"
This fetches the image (if you haven't already done that) and creates a container.
docker run -d --restart=always --name bepasty -p 127.0.0.1:5000:5000 -v /opt/bepasty:/srv/bepasty asmaps/bepasty
After startup you should have the config file located in /opt/bepasty/bepasty.conf
Adjust it to your needs and restart the server.
Stop the server
docker stop bepasty
Start the server
With the --restart=always option the server should be started automatically. If you stopped it you can start it again by running
docker start bepasty
Updating
To update you need to stop and delete the container (data is stored on the host, so it shouldn't be lost), then fetch the new image and recreate the container:
docker stop bepasty docker rm bepasty docker pull asmaps/bepasty docker run -d --restart=always --name bepasty -p 127.0.0.1:5000:5000 -v /opt/bepasty:/srv/bepasty asmaps/bepasty
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务