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