Nriver / trilium-translation

Translation for Trilium Notes. Trilium Notes 中文适配, 体验优化
GNU Affero General Public License v3.0
2.44k stars 286 forks source link

yml启动失败 #82

Closed leap233 closed 9 months ago

leap233 commented 9 months ago

这是我的 docker-compose.yml 文件(没有做任何修改): version: '3' services: trilium-cn: image: nriver/trilium-cn restart: always ports:

执行: $ docker-compose up -d

发生以下错误: Pulling trilium-cn (nriver/trilium-cn:)... latest: Pulling from nriver/trilium-cn c926b61bad3b: Pull complete 3ebae63ae1d8: Pull complete 4df6e7e40a3f: Pull complete bd5b864d1249: Pull complete a33f547192f2: Pull complete 4f4fb700ef54: Pull complete 6f3aa6a3e507: Pull complete Digest: sha256:2426d058f0ee7c0525e30b06ecdfe925529e8be4fa3d37fef214c69c6db75ef1 Status: Downloaded newer image for nriver/trilium-cn:latest Creating _trilium-cn_1 ... error

ERROR: for _trilium-cn_1 Cannot create container for service trilium-cn: Invalid container name (_trilium-cn1), only [a-zA-Z0-9][a-zA-Z0-9.-] are allowed

ERROR: for trilium-cn Cannot create container for service trilium-cn: Invalid container name (_trilium-cn1), only [a-zA-Z0-9][a-zA-Z0-9.-] are allowed ERROR: Encountered errors while bringing up the project.

docker版本: Docker version 24.0.7, build afdd53b

Nriver commented 9 months ago

我这里没有问题哦 ksnip_20240103-111729

你用的是widnows吗?

leap233 commented 9 months ago

我这里没有问题哦 ksnip_20240103-111729

你用的是widnows吗?

系统是ubuntu20.04

Nriver commented 9 months ago

docker-compose 版本是不是没更新?

leap233 commented 9 months ago

docker-compose 版本是不是没更新?

好像是的 我的 docker-compose 版本是1.29, 我要更新到3版本以上嘛

Nriver commented 9 months ago

我用的是 2.23.3,升级一下吧

leap233 commented 9 months ago

好的 谢谢