We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
docker run --name siyuan -it -d --restart=always -v /data/SiYuan:/root/Documents/SiYuan -p 6806:6806 b3log/siyuan 使用上面代码部署的时候“-v /data/SiYuan:/var/SiYuan”并不会起作用,无论是在/data/SiYuan目录还是在/root/Documents/SiYuan目录(此目录找不到)均没有找到思源笔记存放的目录,但是可以正常地使用,不知笔记到底是存放在那个目录下?
The text was updated successfully, but these errors were encountered:
你好,默认是在容器 /root/Documents/SiYuan 下,如果删除容器数据会丢失。
所以必须挂卷,然后通过内核启动参数 --workspace 指定到卷路径。
--workspace
Sorry, something went wrong.
No branches or pull requests
docker run --name siyuan -it -d --restart=always -v /data/SiYuan:/root/Documents/SiYuan -p 6806:6806 b3log/siyuan
使用上面代码部署的时候“-v /data/SiYuan:/var/SiYuan”并不会起作用,无论是在/data/SiYuan目录还是在/root/Documents/SiYuan目录(此目录找不到)均没有找到思源笔记存放的目录,但是可以正常地使用,不知笔记到底是存放在那个目录下?
The text was updated successfully, but these errors were encountered: