Browse Source

add docker run code for free user

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

14
bin/create_virtual_disk.sh

@ -37,4 +37,16 @@ mount /dev/loopX /mnt/disk_username
#umount /dev/loopX #umount /dev/loopX
# 删除循环分区 # 删除循环分区
#losetup -d /dev/loopX #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