CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug] docker容器主机名不支持“”_“”符号导致部分容器无法部署

Open yeluonight opened this issue 1 year ago • 1 comments

Describe the bug

A clear and concise description of what the bug is. 部署的是immich相册,他有多个关联的docker,对于docker容器名有所要求,使用自带的导入无法部署,用 Portainer部署成功,然后casaos这边重建导入,结果三个docker虽然能启动运行,但是immich无法访问,在casaos面板查看重建的几个docker的配置,容器主机名被casaos重建时给丢弃 To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots 屏幕截图 2024-02-16 151151

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

 - OS: [e.g. iOS]
 - Browser [e.g. chrome, safari]
 - Version [e.g. 22]

System Time

Run timedatectl and share the output

(timedatectl output here)

Logs

Run following command to collect corresponding logs:

sudo journalctl -xef -u casaos-gateway
sudo journalctl -xef -u casaos-user-service
sudo journalctl -xef -u casaos-local-storage
sudo journalctl -xef -u casaos-app-management
sudo journalctl -xef -u casaos.service

Additional context

Add any other context about the problem here.

If you are a Zimaboard user, make it explicit with when you got your Zimaboard.

yeluonight avatar Feb 16 '24 07:02 yeluonight

感谢你的反馈,这个问题已知,会在下个版本修复.目前有一个办法能解决这个问题,需要你把应用加入到自己的应用商店,然后添加自己的商店源再下载

raller1028 avatar Feb 27 '24 07:02 raller1028