我创建了ds_ireland
分支以使用 edgex v2.0 测试 DataStorage。
$ cd deployments/datastorage
$ docker-compose up -d
/var/edge-orchestration/datastorage/
$ sudo apt-get install -y libzmq3-dev
$ ./build.sh container x86_64
$ docker run -it -d --privileged --network="host" --name edge-orchestration -e EDGEX_SECURITY_SECRET_STORE=false -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
我创建了
ds_ireland
分支以使用 edgex v2.0 测试 DataStorage。
- 在没有安全性的情况下运行 EdgeX 容器
$ cd deployments/datastorage $ docker-compose up -d
- 将configs/datastorage 文件夹中的配置文件夹和文件保存到
/var/edge-orchestration/datastorage/
- 创建容器镜像
$ ./build.sh container x86_64
- 运行边缘编排
$ docker run -it -d --privileged --network="host" --name edge-orchestration -e EDGEX_SECURITY_SECRET_STORE=false -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
@t25kim这真是一个不错的方法。
@sun-sharma PTAL。 (包括#326)就 PR 的测试而言。
@tdrozdovsky PTAL 在构建方法方面受到 EdgeX v2.0 升级的影响。
@tdrozdovsky PTAL 在构建方法方面受到 EdgeX v2.0 升级的影响。
当一个新的构建系统被接受时,我们可以很容易地添加任何选项
嗨@t25kim ,
我在尝试使用构建时遇到了错误$ ./build.sh container x86_64
早些时候我遇到了与 ZMQ 相关的错误
# pkg-config --cflags -- libzmq
Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containing `libzmq.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libzmq' found
pkg-config: exit status 1
make: *** [Makefile:67: build-binary] Error 1
我尝试进行必要的安装
wget https://github.com/zeromq/libzmq/releases/download/v4.2.1/zeromq-4.2.1.tar.gz
tar -xvzf zeromq-4.2.1.tar.gz
cd zeromq-4.2.1/
sudo apt-get install libtool pkg-config build-essential autoconf automake uuid-dev
sudo apt-get install checkinstall
./configure
make
sudo checkinstall
sudo ldconfig
现在,在构建时,我遇到了运行时错误
runtime: unexpected return pc for cmd/compile/internal/ssa.rewriteValuegeneric_OpLess32 called from 0x0
stack: frame={sp:0xc000161658, fp:0xc000161688} stack=[0xc00015e000,0xc000166000)
你遇到过这样的问题吗?
嗨@t25kim ,
我在尝试使用构建时遇到了错误
$ ./build.sh container x86_64
早些时候我遇到了与 ZMQ 相关的错误
# pkg-config --cflags -- libzmq Package libzmq was not found in the pkg-config search path. Perhaps you should add the directory containing `libzmq.pc' to the PKG_CONFIG_PATH environment variable No package 'libzmq' found pkg-config: exit status 1 make: *** [Makefile:67: build-binary] Error 1
我尝试进行必要的安装
wget https://github.com/zeromq/libzmq/releases/download/v4.2.1/zeromq-4.2.1.tar.gz tar -xvzf zeromq-4.2.1.tar.gz cd zeromq-4.2.1/ sudo apt-get install libtool pkg-config build-essential autoconf automake uuid-dev sudo apt-get install checkinstall ./configure make sudo checkinstall sudo ldconfig
现在,在构建时,我遇到了运行时错误
runtime: unexpected return pc for cmd/compile/internal/ssa.rewriteValuegeneric_OpLess32 called from 0x0 stack: frame={sp:0xc000161658, fp:0xc000161688} stack=[0xc00015e000,0xc000166000)
你遇到过这样的问题吗?
请使用 apt-get 安装 0mq,如下所示。
$ sudo apt-get install -y libzmq3-dev
最有用的评论
@sun-sharma PTAL。 (包括#326)就 PR 的测试而言。