Browse Source

add docker run code for free user

master
filesite 2 years ago
parent
commit
d79ce7f1f4
  1. 12
      bin/create_virtual_disk.sh

12
bin/create_virtual_disk.sh

@ -38,3 +38,15 @@ mount /dev/loopX /mnt/disk_username @@ -38,3 +38,15 @@ mount /dev/loopX /mnt/disk_username
# 删除循环分区
#losetup -d /dev/loopX
# 为用户启动docker容器
#```
#docker run --name machete_username -p 1083:80 -p 8445:445 \
# -v /mnt/disk_username/content/:/var/www/sambashare/filesite/content/ \
# -v /mnt/disk_username/navs/:/var/www/sambashare/filesite/navs/ \
# -v /mnt/disk_username/girls/:/var/www/sambashare/filesite/girls/ \
# -v /mnt/disk_username/videos/:/var/www/sambashare/filesite/videos/ \
# -itd filesite/machete:samba \
# webdirectory
#```
Loading…
Cancel
Save