0

我正在尝试为 fdb-joshua 设置和运行 docker 容器以运行他们的测试基础设施:https ://github.com/FoundationDB/fdb-joshua

我通过以下方式构建了他们的 docker 镜像:

./build.sh

docker 图像来自 ./build.sh 文件:

(python3) ubuntu@random-computer:~/fdb-6.3/build$ docker images
REPOSITORY                  TAG                         IMAGE ID       CREATED          SIZE
foundationdb/agent-scaler   20220125191625-e1ef13f681   961240cf5491   35 minutes ago   336MB
foundationdb/agent-scaler   latest                      961240cf5491   35 minutes ago   336MB
foundationdb/joshua-agent   20220125191625-e1ef13f681   cf59afc5b719   36 minutes ago   3.37GB
foundationdb/joshua-agent   latest                      cf59afc5b719   36 minutes ago   3.37GB
centos                      7                           eeb6ee3f44bd   4 months ago     204MB
centos                      latest                      5d0da3dc9764   4 months ago     231MB

要启动代理,我运行:

sudo docker run --rm -v /home/ubuntu/fdb-6.3-/build/fdb.cluster:/opt/joshua -it foundationdb/joshua-agent:latest

但我收到此错误:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/home/ubuntu/fdb-6.3/build/fdb.cluster" to rootfs at "/opt/joshua" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.

我已经尝试从映像中卸载卷,但仍然遇到问题。有人可以帮我弄这个吗?任何指针表示赞赏。谢谢!

4

0 回答 0