From d79ce7f1f4f1a4102c1409507a5ff2db516c055b Mon Sep 17 00:00:00 2001 From: filesite Date: Wed, 23 Nov 2022 13:36:17 +0800 Subject: [PATCH] add docker run code for free user --- bin/create_virtual_disk.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/bin/create_virtual_disk.sh b/bin/create_virtual_disk.sh index f342f9f..a68cc92 100755 --- a/bin/create_virtual_disk.sh +++ b/bin/create_virtual_disk.sh @@ -37,4 +37,16 @@ mount /dev/loopX /mnt/disk_username #umount /dev/loopX # 删除循环分区 -#losetup -d /dev/loopX \ No newline at end of file +#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 +#``` \ No newline at end of file