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

[Bug] WEB 导入 Compose 代码的时候映射文件夹路径显示不全 #2041

Open
iibeibei opened this issue Oct 30, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@iibeibei
Copy link

很早之前今年3月份的时候就有人在 #1713 提到这个问题,到现在大半年过去了也更新了好几个版本都没有看到有修复

可能是容器有映射 /config 这个路径的比较少,影响范围可能不大,索性就自己找下原因,希望官方能修复一下
只在映射的容器路径是 /config 的时候会触发这个 BUG

_20241030105237.png

查看解析函数 volumeAutoCheck 发现是 appName 没有传值

_20241030110033.png

往上查看调用发现是 composeServicesItem.label 没有定义

_20241030105529.png

在 CasaOS v0.4.13 当前最新版复现 Compose 代码

name: beibei-baidunetdisk
services:
  baidunetdisk:
    image: johngong/baidunetdisk:latest
    volumes:
      - /DATA/AppData/baidunetdisk/config:/config
    network_mode: bridge
    privileged: false
    restart: unless-stopped
@iibeibei iibeibei added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant