-> Docker及docker compose的安装点这里
创建 docker-compose.yml 文件
version: "3"
services:
zfile:
image: stilleshan/zfile
container_name: zfile
stdin_open: true
tty: true
restart: always
ports:
- 9003:8080
volumes:
- ./conf:/root/.zfile
- /:/nolose
privileged: true
docker-compose up -d 运行
docker-compose up -d
启动后打开浏览器,输入网址进入:http://ip地址:9003/admin
设置好用户名密码后,登录admin页面,设置名称和域名(名称随意,域名写IP地址+端口号)
设置完成后编辑驱动器信息
完成后点击前往首页
至此,我们就可以查看和下载我们Linux服务器中的文件了
同理,也可以用来挂载我们其他方式的文件,查看并下载