英文:
Error installing GridDB on Docker for Windows
问题
在 Windows 上的 Docker 上安装 GridDB
嗨社区,
我正在尝试在 Windows 11 上,使用 WSL2 作为后端,按照以下链接的说明,在 Docker(版本 20.10.24)上安装 GridDB,并启用 Fixed List 模式:
https://docs.griddb.net/gettingstarted/docker/#dockerhub
然而,我从容器的日志中得到以下错误消息:
> Fixed List mode
> 执行失败。请查看消息日志
> /start-griddb.sh: 第 94 行:exec: griddb:未找到
我正在运行以下 docker run 命令来实例化一个新容器:
docker pull griddb/griddb:latest
docker run -d \
--name griddb_server \
--network="host" \
-e GRIDDB_CLUSTER_NAME=myCluster \
-e GRIDDB_PASSWORD=admin \
-e NOTIFICATION_MEMBER=1 \
griddb/griddb:latest
欢迎任何提示或帮助以解决此问题。谢谢。
英文:
GridDB on Docker for Windows
Hi community,
I am trying to install GridDB with Fixed List mode on Docker (version 20.10.24) for Windows 11, with WSL2 as backend, following the instructions of the link below:
https://docs.griddb.net/gettingstarted/docker/#dockerhub
However, I get the following error from the container’s log:
> Fixed List mode
> Execution failed. See message logs
> /start-griddb.sh: line 94: exec: griddb: not found
I’m running the following docker run command to instantiate a new container:
docker pull griddb/griddb:latest
docker run -d \
--name griddb_server \
--network="host" \
-e GRIDDB_CLUSTER_NAME=myCluster \
-e GRIDDB_PASSWORD=admin \
-e NOTIFICATION_MEMBER=1 \
griddb/griddb:latest
Any tip or help to get this solved will be welcome. Thank you.
答案1
得分: 1
After some research, I could solve the issue using the link:
https://github.com/griddbnet/IoT-Project-Codebase/tree/main/griddb-server
This repo has a fixed start GridDB script.
After download the file then run the following docker commands:
docker build .
docker image tag 5b56e8ac6ccc griddb/griddb
docker run --name griddb_server --network="host" -e GRIDDB_CLUSTER_NAME=myCluster -e GRIDDB_PASSWORD=admin -e NOTIFICATION_MEMBER=1 griddb/griddb -d
docker logs --follow griddb_server
英文:
After some research, I could solve the issue using the link:
https://github.com/griddbnet/IoT-Project-Codebase/tree/main/griddb-server
This repo has a fixed start GridDB script.
After download the file then run the following docker commands:
docker build .
docker image tag 5b56e8ac6ccc griddb/griddb
docker run --name griddb_server --network="host" -e GRIDDB_CLUSTER_NAME=myCluster -e GRIDDB_PASSWORD=admin -e NOTIFICATION_MEMBER=1 griddb/griddb -d
docker logs --follow griddb_server
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论