Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问能否将脚本所在文件夹映射到容器内? #12

Open
NikoYomi opened this issue Jan 26, 2024 · 4 comments
Open

请问能否将脚本所在文件夹映射到容器内? #12

NikoYomi opened this issue Jan 26, 2024 · 4 comments

Comments

@NikoYomi
Copy link

请问能否将脚本所在文件夹映射到容器内?
我看导出导入目录都是到/data里面,每次都需要命令再复制出来。如果映射容器内一些需要操作的文件夹到容器外脚本所在目录就好操作啦!

@2lifetop
Copy link
Owner

不推荐这样做,导出存档本身的目的就是和服务端现在的存档进行隔离。另外我本身docker也不太熟,所以只会采用最稳妥的方法

@2lifetop
Copy link
Owner

有兴趣的话可以自己fork一下进行二开

@NikoYomi
Copy link
Author

有兴趣的话可以自己fork一下进行二开

不会......qaq

@lijiao1026
Copy link

可以的,容器目录挂载出来就可以,你搜一下这个就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants