Replies: 1 comment
-
为什么不直接用exe |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
wsl + Docker 安装,Docker Desktop设置开机自启。windows重启后访问http://localhost:5244/无法直接登录,重置密码登录后的存储也为空,需要重启容器服务才正常可以用。
我检查了一下,应该是容器的“/opt/alist/data”目录没有挂载到WSL上,wsl和容器中分别ls -l 可以看到wsl中的文件夹修改时间和容器中的文件夹修改时间不一致。初步判断应该是wsl和docker启动顺序的问题。判断方法如下:
在CMD里先wsl --shutdown把docker-desktop和wsl(ubuntu)都关闭后
a. 如果先启动ubuntu再启动docker-desktop,alist可以直接使用原先配置的密码直接访问。
b.如果直接启动docker-desktop,ubuntu会被自动拉起,但此时就会出现上述的问题,无法登录。
有什么办法可以解决吗?
Beta Was this translation helpful? Give feedback.
All reactions