Edge-home-orchestration-go: Dockerのtarファイルに問題があります

作成日 2021年08月15日  ·  33コメント  ·  ソース: lf-edge/edge-home-orchestration-go

pi @ raspberrypi :〜$ docker run -it -d --privileged --network = "host" --name edge-orchestration -v / var / edge-orchestration /:/ var / edge-orchestration /:rw -v / var / run / docker.sock:/ var / run / docker。 sock:rw -v / proc /:/ process /:ro edge- orch estration:coconut
画像 'edge- orch estration:coconut 'がローカルに見つかりません
docker:デーモンからのエラー応答:エッジオーケストレーションのプルアクセスが拒否されました。リポジトリが存在しないか、「docker login」が必要な場合があります:denied:リソースへの要求されたアクセスが拒否されました。
'docker run--help'を参照してください。
pi @ raspberrypi :〜$

Dockerコンテナを読み込めません

最も参考になるコメント

私はまだどこが間違っているのか理解できません

よくできた。 できたね!

> > pi<strong i="8">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -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
> > 6c3d4582207dd40939c4932417eb4b4f8277a263d780a516fe713f9411da73ab
> > pi<strong i="9">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
> > tcp6       0      0 :::56001                :::*                    LISTEN      5830/edge-orchestra
> > pi<strong i="10">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ curl -X POST "127.0.0.1:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "[http://localhost:8888/api/v1/services/notification\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}
> > pi<strong i="11">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "[http://localhost:8888/api/v1/services/notification\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}

> > INFO[2021-08-19T07:24:41Z]externalhandler.go:93 APIV1RequestServicePost [RestExternalInterface] APIV1RequestServicePost
> > INFO[2021-08-19T07:24:41Z]externalhandler.go:157 APIV1RequestServicePost port:  33118
> > INFO[2021-08-19T07:24:42Z]senderresolver.go:75 GetNameByPort returning:  curl
> > INFO[2021-08-19T07:24:42Z]externalhandler.go:162 APIV1RequestServicePost requester:  curl
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:131 RequestService [RequestService] hello-world: [{container [docker run -v /var/run:/var/run:rw hello-world] map[]}]
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:157 RequestService [RequestService] getCandidate
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:159 RequestService [0] Id       : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:160 RequestService [0] ExecType : container
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:161 RequestService [0] Endpoint : [192.168.0.37]
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:162 RequestService
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:340 func3 [orchestrationapi] deviceScore
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:341 func3 candidate Id       : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:342 func3 candidate ExecType : container
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:343 func3 candidate Endpoint : 192.168.0.37
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:344 func3 candidate score    : 14.846495859252466
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:247 RequestService [orchestrationapi]  [{edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 192.168.0.37 14.846495859252466 map[] container}]
> > INFO[2021-08-19T07:24:42Z]containerexecutor.go:70 Execute [containerexecutor] hello-world [docker run -v /var/run:/var/run:rw hello-world]
> > INFO[2021-08-19T07:24:42Z]containerexecutor.go:71 Execute [containerexecutor] parameter length : 5
> > INFO[2021-08-19T07:24:42Z]route.go:131 func1 From [127.0.0.1:33118] POST /api/v1/orchestration/services APIV1RequestServicePost 146.304475ms
> > {"status":"Pulling from library/hello-world","id":"latest"}
> > {"status":"Digest: sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38"}
> > {"status":"Status: Image is up to date for hello-world:latest"}
> > INFO[2021-08-19T07:24:44Z]containerexecutor.go:91 Execute [containerexecutor] create container : 20d38d8de7
> > 2021-08-19T07:24:45.974837713Z
> > 2021-08-19T07:24:45.975191565Z Hello from Docker!
> > 2021-08-19T07:24:45.975228075Z This message shows that your installation appears to be working correctly.
> > 2021-08-19T07:24:45.975258648Z
> > 2021-08-19T07:24:45.975288336Z To generate this message, Docker took the following steps:
> > 2021-08-19T07:24:45.975318752Z  1. The Docker client contacted the Docker daemon.
> > 2021-08-19T07:24:45.975349169Z  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
> > 2021-08-19T07:24:45.975380470Z     (arm32v7)
> > 2021-08-19T07:24:45.975410054Z  3. The Docker daemon created a new container from that image which runs the
> > 2021-08-19T07:24:45.975440418Z     executable that produces the output you are currently reading.
> > 2021-08-19T07:24:45.975470835Z  4. The Docker daemon streamed that output to the Docker client, which sent it
> > 2021-08-19T07:24:45.975515991Z     to your terminal.
> > 2021-08-19T07:24:45.975546147Z
> > 2021-08-19T07:24:45.975575626Z To try something more ambitious, you can run an Ubuntu container with:
> > 2021-08-19T07:24:45.975605990Z  $ docker run -it ubuntu bash
> > 2021-08-19T07:24:45.975637500Z
> > 2021-08-19T07:24:45.975669115Z Share images, automate workflows, and more with a free Docker ID:
> > 2021-08-19T07:24:45.975699583Z  https://hub.docker.com/
> > 2021-08-19T07:24:45.975728802Z
> > 2021-08-19T07:24:45.975758229Z For more examples and ideas, visit:
> > 2021-08-19T07:24:45.975797916Z  https://docs.docker.com/get-started/
> > 2021-08-19T07:24:45.975828541Z
> > INFO[2021-08-19T07:24:46Z]containerexecutor.go:117 Execute [containerexecutor] container execution status : 0
> > INFO[2021-08-19T07:24:46Z]orchestrationapi.go:448 listenNotify [orchestrationapi] service status changed [appNames:hello-world][status:Finished]
> > INFO[2021-08-19T07:24:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
> > INFO[2021-08-19T07:24:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe

全てのコメント33件

エッジオーケストレーションを開始するには、ここで説明する手順を実行する必要があります。 質問があれば私に書いてください、そして私はそれらに答えようとします!

説明に書かれていることはすべてやりました。 私のすべての努力と試行にもかかわらず、私は何度も同じエラーを繰り返していました。

edge-orchestration.tarファイルを読み込もうとすると、正常にアップロードされます。 しかし、画像をロードすると、次のように表示されます。

$ docker画像
リポジトリタグの画像ID作成サイズ
なしなしf925adb3 .... 3秒前171MB

チェックしたところ、すべてうまくいきました。

pi<strong i="6">@raspberrypi</strong>:~ $ docker images
REPOSITORY           TAG       IMAGE ID       CREATED          SIZE
edge-orchestration   coconut   8b3bc48edd34   27 minutes ago   159MB
hello-world          latest    851163c78e4a   19 months ago    4.85kB

ビルド方法を詳しく記述し、ビルドするプラットフォームを説明します。

ラズベリーパイ3bボードを使用しました
そして私はそれに応じてraspberry_pi3.mdに書かれたビルドを行いました

オプション2を使用します。ラズベリーpi3ボード上に直接ビルドします

最初に前提条件を作成し、次にgocompilerを作成しました。

そして、与えられたリンクからgitコードのクローンを作成しました。

また、gocov、gocov-html、staticcheck、追加のLinuxユーティリティもインストールしました。

私は(ラズベリーパイ3bボード上で直接)正常に構築し、エッジオーケストレーションを開始しました。
一貫して次の手順を実行しましょう。

$ cd <YOUR_DIRECTORY_PATH>/edge-home-orchestration-go
$ make distclean
$ make create_context CONFIGFILE=armc
$ make

次の詳細:

pi<strong i="10">@raspberrypi</strong>:~/projects/edge-home-orchestration-go $ docker images
REPOSITORY       TAG       IMAGE ID       CREATED         SIZE
arm32v7/ubuntu   16.04     f46cdaad2749   2 weeks ago     106MB
hello-world      latest    851163c78e4a   19 months ago   4.85kB
pi<strong i="11">@raspberrypi</strong>:~/projects/edge-home-orchestration-go $ cd bin/
pi<strong i="12">@raspberrypi</strong>:~/projects/edge-home-orchestration-go/bin $ ls
edge-orchestration  edge-orchestration.tar  qemu
pi<strong i="13">@raspberrypi</strong>:~/projects/edge-home-orchestration-go/bin $ docker load -i edge-orchestration.tar
ad79db33824f: Loading layer [==================================================>]  18.81MB/18.81MB
e95fd3a21c29: Loading layer [==================================================>]  2.048kB/2.048kB
bbe81e41c183: Loading layer [==================================================>]   2.56kB/2.56kB
d1cdd59a814e: Loading layer [==================================================>]  26.79MB/26.79MB
4071d8510dd0: Loading layer [==================================================>]  2.571MB/2.571MB
Loaded image: edge-orchestration:coconut
pi<strong i="14">@raspberrypi</strong>:~/projects/edge-home-orchestration-go/bin $ docker images
REPOSITORY           TAG       IMAGE ID       CREATED          SIZE
edge-orchestration   coconut   3354de41d248   13 minutes ago   154MB
arm32v7/ubuntu       16.04     f46cdaad2749   2 weeks ago      106MB
hello-world          latest    851163c78e4a   19 months ago    4.85kB
pi<strong i="15">@raspberrypi</strong>:~/projects/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -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
047d30372ff214b1fa3304c3c319ac145298b6abff4a22dd48b937af3b2d122f
pi<strong i="16">@raspberrypi</strong>:~/projects/edge-home-orchestration-go/bin $

プロジェクトを構築したときにビデオを送っていただけませんか。 できません
私が間違っているところ。

もう一度試してみましたが、同じエラーメッセージが表示されます。

2021年8月16日月曜日14:15Taras Drozdovskyi @* >
書きました:

私は(ラズベリーパイ3bボード上に直接)正常に構築し、
エッジオーケストレーションを開始しました。
一貫して次の手順を実行しましょう。

$ cd/ edge-home-orchestration-go
$ make distclean
$ make create_context CONFIGFILE = armc
$ make

次の詳細:

@:〜/ projects / edge-home-orchestration-go $ docker imagesリポジトリタグの画像ID作成サイズarm32v7 / ubuntu 16.04 f46cdaad27492週間前106MBhello-world最新851163c78e4a19か月前4.85kB* @ :〜/ projects / edge-home-orchestration-go $ cd bin /
@:〜/ projects / edge-home-orchestration-go / bin $ lsedge-orchestration edge-orchestration.tar qemu :〜/ projects / edge-home-orchestration-go / bin $ docker load -i edge-orchestration.tar
ad79db33824f:読み込みレイヤー[============================================= =====>] 18.81MB / 18.81MB
e95fd3a21c29:読み込みレイヤー[============================================= =====>] 2.048kB / 2.048kB
bbe81e41c183:読み込みレイヤー[============================================= =====>] 2.56kB / 2.56kB
d1cdd59a814e:読み込みレイヤー[============================================= =====>] 26.79MB / 26.79MB
4071d8510dd0:読み込みレイヤー[============================================= =====>] 2.571MB / 2.571MB
ロードされた画像:エッジオーチエストレーション:ココナッツ
@:〜/ projects / edge-home-orchestration-go / bin $ docker imagesリポジトリタグの画像ID作成サイズエッジオーケストレーションココナッツ3354de41d24813分前154MBarm32v7 / ubuntu 16.04 f46cdaad27492週間前106MBhello-world最新851163c78e4a19か月前4.85kB :〜/ projects / edge-home-orchestration-go / bin $ docker run -it -d --privileged --network = "host" --name edge-orchestration -v / var / edge-orchestration /:/ var / edge-orchestration /:rw -v /var/run/docker.sock:/var/run/docker sock:rw -v / proc /:/ process /:ro edge- orch estration:coconut
047d30372ff214b1fa3304c3c319ac145298b6abff4a22dd48b937af3b2d122f
@ 。**:〜/ projects / edge-home-orchestration-go / bin $


コメントしたのでこれを受け取っています。
このメールに直接返信し、GitHubで表示してください
https://github.com/lf-edge/edge-home-orchestration-go/issues/363#issuecomment-899501233
または購読を解除する
https://github.com/notifications/unsubscribe-auth/APTA5RUWOIKISKF2AU3KLLTT5EFPJANCNFSM5CGFXW7Q

あなたがしていることの詳細なログが彼らに送られたなら、それは正しいと思います。

同じ問題が何度も発生しています。プロジェクトの構築方法とホームエッジデバイスでのテスト方法についての説明ビデオを送ってください。プロジェクトの構築に進むことができます。

こんにちは、ラズベリーpi3bボードをRESTAPIサーバーに接続する際に問題が発生しました。誰かがこれを手伝ってくれませんか!!!

私たちは本当にあなたを助けたいのですが、あなたが持っているログを表示しないたびに、そして私たちにとってあなたを助けるのは難しいです。

INFO [2021-08-16T19:33:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:33:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:33:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:33:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:34:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:34:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:34:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:34:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:34:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:34:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:34:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:34:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:34:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:34:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:34:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:35:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:35:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:35:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:35:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:35:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:35:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:35:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:35:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:35:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:35:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:35:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:36:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:36:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:36:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:36:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:36:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:36:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:36:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:36:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:36:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:36:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:36:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:37:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:37:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:37:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:37:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:37:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:37:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:37:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:37:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:37:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:37:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:37:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:38:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:38:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:38:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:38:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:38:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:38:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:38:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:38:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:38:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:38:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:38:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:39:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:39:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:39:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:39:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:39:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:39:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:39:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:39:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:39:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:39:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:39:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:40:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:40:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:40:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:40:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:40:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:40:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:40:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:40:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:40:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:40:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:40:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:41:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:41:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:41:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:41:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:41:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:41:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:41:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:41:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:41:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:41:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:41:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:42:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:42:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:42:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:42:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:42:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:42:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:42:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:42:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:42:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:42:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:42:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:43:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:43:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:43:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:43:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:43:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:43:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:43:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:43:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:43:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:43:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:43:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:44:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:44:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:44:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:44:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:44:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:44:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:44:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:44:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:44:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:44:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:44:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:45:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:45:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:45:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:45:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:45:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:45:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:45:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:45:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:45:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:45:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:45:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:46:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:46:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:46:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:46:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:46:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:46:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:46:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:46:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:46:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:46:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:46:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:47:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:47:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:47:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:47:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:47:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:47:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:47:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:47:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:47:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:47:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:47:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:48:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:48:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:48:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:48:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:48:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:48:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:48:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:48:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:48:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:48:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:48:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:49:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:49:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:49:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:49:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:49:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:49:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:49:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:49:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:49:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:49:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:49:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:50:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:50:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:50:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:50:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:50:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:50:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:50:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:50:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:50:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:50:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:50:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:51:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:51:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:51:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:51:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:51:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:51:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:51:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:51:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:51:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:51:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:51:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:52:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:52:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:52:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:52:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:52:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:52:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:52:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:52:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:52:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:52:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:52:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:53:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:53:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:53:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:53:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:53:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:53:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:53:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:53:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:53:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:53:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:53:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:54:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:54:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:54:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:54:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:54:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:54:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:54:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:54:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:54:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:54:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:54:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:55:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:55:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:55:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:55:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:55:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:55:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:55:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:55:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:55:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:55:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:55:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:56:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:56:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:56:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:56:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:56:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:56:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:56:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:56:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:56:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:56:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:56:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:57:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:57:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:57:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:57:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:57:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:57:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:57:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:57:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:57:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:57:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:57:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:58:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:58:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:58:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:58:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:58:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:58:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:58:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:58:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:58:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:58:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:58:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:59:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T19:59:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:59:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:59:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:59:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:59:13Z] Discovery.go:577 func1
INFO [2021-08-16T19:59:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T19:59:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T19:59:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T19:59:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T19:59:13Z] Discovery.go:577 func1
INFO [2021-08-16T20:00:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T20:00:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T20:00:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T20:00:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T20:00:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T20:00:13Z] Discovery.go:577 func1
INFO [2021-08-16T20:00:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-16T20:00:13Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-16T20:00:13Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-16T20:00:13Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-16T20:00:13Z] Discovery.go:577 func1
INFO [2021-08-16T20:01:13Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-16T20:01:13Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:01:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:01:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:01:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:01:13Z]discovery.go:577 func1
INFO[2021-08-16T20:01:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:01:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:01:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:01:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:01:13Z]discovery.go:577 func1
INFO[2021-08-16T20:02:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:02:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:02:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:02:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:02:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:02:13Z]discovery.go:577 func1
INFO[2021-08-16T20:02:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:02:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:02:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:02:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:02:13Z]discovery.go:577 func1
INFO[2021-08-16T20:03:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:03:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:03:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:03:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:03:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:03:13Z]discovery.go:577 func1
INFO[2021-08-16T20:03:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:03:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:03:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:03:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:03:13Z]discovery.go:577 func1
INFO[2021-08-16T20:04:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:04:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:04:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:04:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:04:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:04:13Z]discovery.go:577 func1
INFO[2021-08-16T20:04:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:04:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:04:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:04:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:04:13Z]discovery.go:577 func1
INFO[2021-08-16T20:05:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:05:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:05:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:05:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:05:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:05:13Z]discovery.go:577 func1
INFO[2021-08-16T20:05:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:05:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:05:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:05:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:05:13Z]discovery.go:577 func1
INFO[2021-08-16T20:06:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:06:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:06:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:06:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:06:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:06:13Z]discovery.go:577 func1
INFO[2021-08-16T20:06:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:06:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:06:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:06:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:06:13Z]discovery.go:577 func1
INFO[2021-08-16T20:07:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:07:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:07:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:07:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:07:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:07:13Z]discovery.go:577 func1
INFO[2021-08-16T20:07:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:07:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:07:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:07:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:07:13Z]discovery.go:577 func1
INFO[2021-08-16T20:08:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:08:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:08:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:08:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:08:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:08:13Z]discovery.go:577 func1
INFO[2021-08-16T20:08:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:08:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:08:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:08:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:08:13Z]discovery.go:577 func1
INFO[2021-08-16T20:09:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:09:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:09:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:09:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:09:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:09:13Z]discovery.go:577 func1
INFO[2021-08-16T20:09:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:09:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:09:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:09:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:09:13Z]discovery.go:577 func1
INFO[2021-08-16T20:10:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:10:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:10:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:10:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:10:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:10:13Z]discovery.go:577 func1
INFO[2021-08-16T20:10:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:10:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:10:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:10:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:10:13Z]discovery.go:577 func1
INFO[2021-08-16T20:11:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:11:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:11:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:11:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:11:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:11:13Z]discovery.go:577 func1
INFO[2021-08-16T20:11:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:11:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:11:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:11:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:11:13Z]discovery.go:577 func1
INFO[2021-08-16T20:12:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:12:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:12:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:12:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:12:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:12:13Z]discovery.go:577 func1
INFO[2021-08-16T20:12:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:12:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:12:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:12:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:12:13Z]discovery.go:577 func1
INFO[2021-08-16T20:13:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:13:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:13:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:13:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:13:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:13:13Z]discovery.go:577 func1
INFO[2021-08-16T20:13:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:13:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:13:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:13:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:13:13Z]discovery.go:577 func1
INFO[2021-08-16T20:14:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:14:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:14:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:14:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:14:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:14:13Z]discovery.go:577 func1
INFO[2021-08-16T20:14:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:14:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:14:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:14:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:14:13Z]discovery.go:577 func1
INFO[2021-08-16T20:15:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:15:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:15:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:15:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:15:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:15:13Z]discovery.go:577 func1
INFO[2021-08-16T20:15:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:15:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:15:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:15:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:15:13Z]discovery.go:577 func1
INFO[2021-08-16T20:16:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:16:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:16:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:16:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:16:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:16:13Z]discovery.go:577 func1
INFO[2021-08-16T20:16:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:16:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:16:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:16:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:16:13Z]discovery.go:577 func1
INFO[2021-08-16T20:17:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:17:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:17:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:17:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:17:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:17:13Z]discovery.go:577 func1
INFO[2021-08-16T20:17:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:17:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:17:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:17:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:17:13Z]discovery.go:577 func1
INFO[2021-08-16T20:18:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:18:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:18:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:18:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:18:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:18:13Z]discovery.go:577 func1
INFO[2021-08-16T20:18:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:18:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:18:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:18:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:18:13Z]discovery.go:577 func1

* docker logs -f edge-orchestrationを実行すると、これが発生します

先に進む方法を教えてください

エッジオーケストレーションを開始した後、次のコマンドを使用してhello-worldコンテナーを開始する要求を送信できます。

$ curl -X POST "IP:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"ServiceName\": \"hello-world\", \"ServiceInfo\": [{ \"ExecutionType\": \"container\", \"ExecCmd\": [ \"docker\", \"run\", \"-v\", \"/var/run:/var/run:rw\", \"hello-world\"]}], \"StatusCallbackURI\": \"http://localhost:8888/api/v1/services/notification\"}"

ここで、IPはIPアドレスです

curl -X POST "80.195.171.141:56001/api/v1/orchestration/services" -H "accept:application / json" -H "Content-Type:application / json" -d "{\" ServiceName \ ":\ "hello-world \"、\ "ServiceInfo \":[{\ "ExecutionType \":\ "container \"、\ "ExecCmd \":[\ "docker \"、\ "run \"、\ "-v \ "、\" / var / run:/ var / run:rw \ "、\" hello-world \ "]}]、\" StatusCallbackURI \ ":\" http:// localhost :8888 / api / v1 /サービス/通知\ "}"

curl:(7)80.195.171.141ポート56001への接続に失敗しました:接続がタイムアウトしました

このように見せてくれます

アドレス192.168.0.37を試してください

curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept:application / json" -H "Content-Type:application / json" -d "{\" ServiceName \ ":\ "hello-world \"、\ "ServiceInfo \":[{\ "ExecutionType \":\ "container \"、\ "ExecCmd \":[\ "docker \"、\ "run \"、\ "-v \ "、\" / var / run:/ var / run:rw \ "、\" hello-world \ "]}]、\" StatusCallbackURI \ ":\" http:// localhost :8888 / api / v1 /サービス/通知\ "}"
curl:(7)192.168.0.37ポート56001への接続に失敗しました:接続が拒否されました

実行してください

$ docker stop edge-orchestration
$ docker rm edge-orchestration
$ docker run -it -d --privileged --network="host" --name edge-orchestration -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
$ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "http://localhost:8888/api/v1/services/notification\"}"

pi @ raspberrypi :〜/ edge-home-orchestration-go / bin $ docker stop edge-orchestration
エッジオーケストレーション
pi @ raspberrypi :〜/ edge-home-orchestration-go / bin $ docker rm edge-orchestration
エッジオーケストレーション
pi @ raspberrypi :〜/ edge-home-orchestration-go / bin $ docker run -it -d --privileged --network = "host" --name edge-orchestration -v / var / edge-orchestration /:/ var / edge-orchestration /:rw -v /var/run/docker.sock:/var/run/docker sock:rw -v / proc /:/ process /:ro edge- orch estration:coconut
b970d50e1035ba0c2e5b42b64025662dd04a774ff1aa9ab55c36e1ee964c66ec
pi @ raspberrypi :〜/ edge-home-orchestration-go / bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept:application / json" -H "Content-Type :application / json "-d" {"ServiceName": "hello-world"、 "ServiceInfo":[{"ExecutionType": "container"、 "ExecCmd":["docker"、 "run"、 "-v" 、 "/ var / run:/ var / run:rw "、 "hello-world"]}]、 "StatusCallbackURI": " http:// localhost :8888 / api / v1 / services / notification \"} "

変化はなく、このように凍っただけです

ログを共有してください

$ docker logs -f edge-orchestration

Dockerログ-fエッジオーケストレーション
INFO [2021-08-17T19:12:54Z] main.go:91 orchestrationInit [インターフェース] OrchestrationInit
INFO [2021-08-17T19:12:54Z] main.go:92 orchestrationInit >>> commitID:e75c75e
INFO [2021-08-17T19:12:54Z] main.go:93 orchestrationInit >>>バージョン:
INFO [2021-08-17T19:12:54Z] main.go:94 orchestrationInit >>> buildTime:20210816.1929
INFO [2021-08-17T19:12:54Z] main.go:95 orchestrationInit >>> buildTags:
INFO [2021-08-17T19:12:54Z] cipherDummy.go:46 GetCipherはkeyFilePathからパスフレーズキーを読み取ることができません-/ var / edge-orchestration / user / orchestration_userID.txtを開きます:そのようなファイルまたはディレクトリはありません
INFO [2021-08-17T19:12:54Z] Discovery.go:744 clearAllDeviceInfo [discoverymgr]すべてのデバイス情報を削除
INFO [2021-08-17T19:12:54Z] Discovery.go:839 deleteDevice [discoverymgr] [deleteDevice] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:12:54Z] networkhelper.go:194 setAddrInfo [networkmgr] addr 192.168.0.37/24
INFO [2021-08-17T19:12:54Z] Discovery.go:398 setDeviceID [discoverymgr] UUID:28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:12:54Z] Discovery.go:542 SetNetwotkArgument [discoverymgr] [192.168.0.37]
INFO [2021-08-17T19:12:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:12:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:12:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:12:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:12:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:12:54Z] configuremgr.go:146 / var / edge-orchestration / appsの監視を開始する
INFO [2021-08-17T19:12:54Z] configuremgr.go:147監視configuremgrウォッチャーレジスタの終了
INFO [2021-08-17T19:12:54Z] route.go:84 Add {APIV1Ping GET / api / v1 / ping 0x6ac060}
INFO [2021-08-17T19:12:54Z] route.go:84 Add {APIV1ServicemgrServicesPost POST / api / v1 / servicemgr / services 0x6ac0ec}
INFO [2021-08-17T19:12:54Z] route.go:84 Add {APIV1ServicemgrServicesNotificationServiceIDPost POST / api / v1 / servicemgr / services / notify / {serviceid} 0x6ac158}
INFO [2021-08-17T19:12:54Z] route.go:84 Add {APIV1ScoringmgrScoreLibnameGet GET / api / v1 / scoringmgr / score 0x6ac1c4}
INFO [2021-08-17T19:12:54Z] route.go:84 Add {APIV1ScoringmgrResourceGet GET / api / v1 / scoringmgr / resource 0x6ac230}
INFO [2021-08-17T19:12:54Z] route.go:84 Add {APIV1DiscoverymgrMNEDCDeviceInfoPost POST / api / v1 / Discoverymgr / register 0x6ac29c}
INFO [2021-08-17T19:12:54Z] route.go:84 Add {APIV1DiscoverymgrOrchestrationInfoGet GET / api / v1 / discoverymgr / orchestrationinfo 0x6ac308}
INFO [2021-08-17T19:12:54Z] cipherDummy.go:46 GetCipherはkeyFilePathからパスフレーズキーを読み取ることができません-/ var / edge-orchestration / user / orchestration_userID.txtを開きます:そのようなファイルまたはディレクトリはありません
INFO [2021-08-17T19:12:54Z] route.go:84 Add {APIV1RequestServicePost POST / api / v1 / orchestration / services 0x6a8678}
INFO [2021-08-17T19:12:54Z] route.go:84 Add {APIV1RequestSecuremgrPost POST / api / v1 / orchestration / securemgr 0x6a86e4}
INFO [2021-08-17T19:12:54Z] route.go:115 listenAndServe ListenAndServe_For_Inter
INFO [2021-08-17T19:12:54Z] route.go:119 listenAndServe ListenAndServe
INFO [2021-08-17T19:12:54Z] main.go:182orchestrationInitインターフェイスオーケストレーションの初期化が完了しました
INFO [2021-08-17T19:12:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:12:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:12:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([])、RTT(0)
INFO [2021-08-17T19:12:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:12:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:12:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:12:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:12:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:12:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:12:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:12:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:12:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:12:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:12:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:12:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:12:55Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:12:55Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:12:55Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([])、RTT(0)
INFO [2021-08-17T19:12:55Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:12:55Z] Discovery.go:577 func1
INFO [2021-08-17T19:12:55Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:12:55Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:12:55Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:12:55Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:12:55Z] Discovery.go:577 func1
INFO [2021-08-17T19:12:55Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:12:55Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:12:55Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:12:55Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:12:55Z] Discovery.go:577 func1
INFO [2021-08-17T19:12:56Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:12:56Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:12:56Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:12:56Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:12:56Z] Discovery.go:577 func1
INFO [2021-08-17T19:13:54Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-17T19:13:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:13:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:13:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:13:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:13:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:13:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:13:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:13:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:13:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:13:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:14:54Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-17T19:14:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:14:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:14:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:14:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:14:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:14:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:14:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:14:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:14:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:14:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:15:54Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-17T19:15:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:15:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:15:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:15:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:15:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:15:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:15:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:15:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:15:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:15:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:16:54Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-17T19:16:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:16:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:16:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:16:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:16:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:16:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:16:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:16:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:16:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:16:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:17:54Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-17T19:17:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:17:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:17:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:17:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:17:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:17:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:17:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:17:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:17:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:17:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:18:54Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-17T19:18:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:18:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:18:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:18:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:18:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:18:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:18:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:18:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:18:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:18:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:19:54Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-17T19:19:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:19:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:19:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:19:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:19:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:19:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:19:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:19:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:19:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:19:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:20:54Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-17T19:20:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:20:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:20:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:20:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:20:54Z] Discovery.go:577 func1
INFO [2021-08-17T19:20:54Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-17T19:20:54Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-17T19:20:54Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-17T19:20:54Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-17T19:20:54Z] Discovery.go:577 func1

ログから

INFO[2021-08-17T19:12:54Z]cipherDummy.go:46 GetCipher can't read passphrase key from keyFilePath - open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory

ファイル/var/edge-orchestration/user/orchestration_userID.txtは存在しません!
見てください:

どのように動作します

0.前提条件

  • /var/edge-orchestration/user/orchestration_userID.txtにある同じ認証キー

    • エッジオーケストレーションデバイスが相互に通信できるようにするには、各デバイスが次の場所で同じ認証キーを持っている必要があります。

      /var/edge-orchestration/data/cert/edge-orchestration.key (任意の証明書ファイルを認証キーにすることができます)

https://github.com/lf-edge/edge-home-orchestration-go/blob/master/docs/platforms/x86_64_linux/x86_64_linux.md#how -to-work

次のコマンドの結果を共有してください(ラズベリーから):

$ tree /var/edge-orchestration

ツリー/ var / edge-オーケストレーション
/ var / edge-オーケストレーション
\ u251c \ u2500 \ u2500アプリ
\ u251c \ u2500 \ u2500データ
\ u2502 \ u00a0 \ u00a0 \ u251c \ u2500 \ u2500証明書
\ u2502 \ u00a0 \ u00a0 \ u2514 \ u2500 \ u2500 db
\ u2502 \ u00a0 \ u00a0 \ u2514 \ u2500 \ u2500 data.db
\ u251c \ u2500 \ u2500データストレージ
\ u251c \ u2500 \ u2500デバイス
\ u2502 \ u00a0 \ u00a0 \ u2514 \ u2500 \ u2500 orchestration_deviceID.txt
\ u251c \ u2500 \ u2500ログ
\ u2502 \ u00a0 \ u00a0 \ u251c \ u2500 \ u2500 logmgr.log
\ u2502 \ u00a0 \ u00a0 \ u2514 \ u2500 \ u2500 logmgr.log.1
\ u251c \ u2500 \ u2500 mnedc
\ u2514 \ u2500 \ u2500ユーザー

9つのディレクトリ、4つのファイル

curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept:application / json" -H "Content-Type:application / json" -d "{" ServiceName ":" hello- world "、" ServiceInfo ":[{" ExecutionType ":" container "、" ExecCmd ":[" docker "、" run "、" -v "、" / var / run:/ var / run:rw "、" hello-world "]}]、" StatusCallbackURI ":" http:// localhost :8888 / api / v1 / services / notification \ "}"
curl:(7)192.168.0.37ポート56001への接続に失敗しました:接続が拒否されました

@mchittinenirpiの56001ポートを使用するソフトウェアがあるようです。 エッジオーケストレーションなしでネットワークステータスを確認できますか? 次のコマンドがお役に立てば幸いです。

$ docker stop edge-orchestration
$ docker rm edge-orchestration
$ sudo netstat -nap | grep 56001
docker stop edge-orchestration
edge-orchestration
pi<strong i="5">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
edge-orchestration
pi<strong i="6">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
pi<strong i="7">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker logs -f edge-orchestration
Error: No such container: edge-orchestration

それでもRESTAPIに接続できません

pi<strong i="5">@raspberrypi</strong>:~ $ sudo apt-get install qemu binfmt-support qemu-user-static
Reading package lists... Done
Building dependency tree       
Reading state information... Done
binfmt-support is already the newest version (2.2.0-2).
qemu is already the newest version (1:3.1+dfsg-8+deb10u8).
qemu-user-static is already the newest version (1:3.1+dfsg-8+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 94 not upgraded.
pi<strong i="6">@raspberrypi</strong>:~ $ cd /home/pi/edge-home-orchestration-go
pi<strong i="7">@raspberrypi</strong>:~/edge-home-orchestration-go $ make distclean

--------------------------------------
  Build clean
--------------------------------------
/bin/sh: 1: go: not found
make: *** [Makefile:190: clean] Error 127
pi<strong i="8">@raspberrypi</strong>:~/edge-home-orchestration-go $ make create_context CONFIGFILE=armc
make: Nothing to be done for 'create_context'.
pi<strong i="9">@raspberrypi</strong>:~/edge-home-orchestration-go $ make
make clean
make[1]: Entering directory '/home/pi/edge-home-orchestration-go'

--------------------------------------
  Build clean
--------------------------------------
/bin/sh: 1: go: not found
make[1]: *** [Makefile:190: clean] Error 127
make[1]: Leaving directory '/home/pi/edge-home-orchestration-go'
make: *** [Makefile:246: all] Error 2
pi<strong i="10">@raspberrypi</strong>:~/edge-home-orchestration-go $ docker images
REPOSITORY           TAG       IMAGE ID       CREATED       SIZE
edge-orchestration   coconut   22a0cb262840   2 days ago    154MB
arm32v7/ubuntu       16.04     f46cdaad2749   3 weeks ago   106MB
hello-world          latest    1a30b4397839   5 weeks ago   4.85kB
pi<strong i="11">@raspberrypi</strong>:~/edge-home-orchestration-go $ cd bin/
pi<strong i="12">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ ls
edge-orchestration  edge-orchestration.tar  qemu
pi<strong i="13">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker load -i edge-orchestration.tar
Loaded image: edge-orchestration:coconut
pi<strong i="14">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker images
REPOSITORY           TAG       IMAGE ID       CREATED       SIZE
edge-orchestration   coconut   22a0cb262840   2 days ago    154MB
arm32v7/ubuntu       16.04     f46cdaad2749   3 weeks ago   106MB
hello-world          latest    1a30b4397839   5 weeks ago   4.85kB
pi<strong i="15">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -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
docker: Error response from daemon: Conflict. The container name "/edge-orchestration" is already in use by container "b970d50e1035ba0c2e5b42b64025662dd04a774ff1aa9ab55c36e1ee964c66ec". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
pi<strong i="16">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "http://localhost:8888/api/v1/services/notification\"}"
> ^C
pi<strong i="17">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker stop edge-orchestration
edge-orchestration
pi<strong i="18">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
edge-orchestration
pi<strong i="19">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
pi<strong i="20">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "http://localhost:8888/api/v1/services/notification"}"
curl: (7) Failed to connect to 192.168.0.37 port 56001: Connection refused
pi<strong i="21">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -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
a8ebb4c18ec41afa4c76942d89bd5d0715d3b619042150881da2affb9d87901f
pi<strong i="22">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -e SECURE=true -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
docker: Error response from daemon: Conflict. The container name "/edge-orchestration" is already in use by container "a8ebb4c18ec41afa4c76942d89bd5d0715d3b619042150881da2affb9d87901f". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
pi<strong i="23">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker logs -f edge-orchestration
INFO[2021-08-18T19:30:27Z]main.go:91 orchestrationInit [interface] OrchestrationInit                
INFO[2021-08-18T19:30:27Z]main.go:92 orchestrationInit >>> commitID  :  e75c75e                     
INFO[2021-08-18T19:30:27Z]main.go:93 orchestrationInit >>> version   :                              
INFO[2021-08-18T19:30:27Z]main.go:94 orchestrationInit >>> buildTime :  20210816.1929               
INFO[2021-08-18T19:30:27Z]main.go:95 orchestrationInit >>> buildTags :                              
INFO[2021-08-18T19:30:27Z]cipherDummy.go:46 GetCipher can't read passphrase key from keyFilePath -  open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory 
INFO[2021-08-18T19:30:27Z]discovery.go:744 clearAllDeviceInfo [discoverymgr] Delete All Device Info        
INFO[2021-08-18T19:30:27Z]helper.go:104 DoGet [http://192.168.0.37:56002/api/v1/ping] reqeust get failed !!, err = Get "http://192.168.0.37:56002/api/v1/ping": dial tcp 192.168.0.37:56002: connect: connection refused 
INFO[2021-08-18T19:30:27Z]roundtriptime.go:92 checkRTT Get "http://192.168.0.37:56002/api/v1/ping": dial tcp 192.168.0.37:56002: connect: connection refused 
INFO[2021-08-18T19:30:27Z]discovery.go:839 deleteDevice [discoverymgr] [deleteDevice] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:27Z]networkhelper.go:194 setAddrInfo [networkmgr] addr 192.168.0.37/24            
INFO[2021-08-18T19:30:27Z]discovery.go:398 setDeviceID [discoverymgr] UUID :  28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:27Z]discovery.go:542 SetNetwotkArgument [discoverymgr] [192.168.0.37]                
INFO[2021-08-18T19:30:27Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:27Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:27Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:27Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:27Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:27Z]configuremgr.go:146 Watch start watching for /var/edge-orchestration/apps 
INFO[2021-08-18T19:30:27Z]configuremgr.go:147 Watch configuremgr watcher register end            
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1Ping GET /api/v1/ping 0x6ac060}        
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1ServicemgrServicesPost POST /api/v1/servicemgr/services 0x6ac0ec} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1ServicemgrServicesNotificationServiceIDPost POST /api/v1/servicemgr/services/notification/{serviceid} 0x6ac158} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1ScoringmgrScoreLibnameGet GET /api/v1/scoringmgr/score 0x6ac1c4} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1ScoringmgrResourceGet GET /api/v1/scoringmgr/resource 0x6ac230} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1DiscoverymgrMNEDCDeviceInfoPost POST /api/v1/discoverymgr/register 0x6ac29c} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1DiscoverymgrOrchestrationInfoGet GET /api/v1/discoverymgr/orchestrationinfo 0x6ac308} 
INFO[2021-08-18T19:30:27Z]cipherDummy.go:46 GetCipher can't read passphrase key from keyFilePath -  open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1RequestServicePost POST /api/v1/orchestration/services 0x6a8678} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1RequestSecuremgrPost POST /api/v1/orchestration/securemgr 0x6a86e4} 
INFO[2021-08-18T19:30:27Z]route.go:115 listenAndServe ListenAndServe_For_Inter                     
INFO[2021-08-18T19:30:27Z]route.go:119 listenAndServe ListenAndServe                               
INFO[2021-08-18T19:30:27Z]main.go:182 orchestrationInit interface orchestration init done            
INFO[2021-08-18T19:30:27Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:27Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:27Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([]), RTT(0) 
INFO[2021-08-18T19:30:27Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:27Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:28Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:28Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:28Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:28Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:28Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:28Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:28Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:28Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:28Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:28Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:28Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:28Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:28Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([]), RTT(0) 
INFO[2021-08-18T19:30:28Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:28Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:28Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:28Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:28Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:28Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:28Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:28Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:28Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:28Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:28Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:28Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:29Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:29Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:29Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:29Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:29Z]discovery.go:577 func1                                              
^C
pi<strong i="24">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker stop edge-orchestration
edge-orchestration
pi<strong i="25">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
edge-orchestration
pi<strong i="26">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
pi<strong i="27">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker logs -f edge-orchestration
Error: No such container: edge-orchestration
pi<strong i="28">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "http://localhost:8888/api/v1/services/notification"}"
curl: (7) Failed to connect to 192.168.0.37 port 56001: Connection refused
pi<strong i="29">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker stop edge-orchestration
Error response from daemon: No such container: edge-orchestration
pi<strong i="30">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
Error: No such container: edge-orchestration
pi<strong i="31">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ cd
pi<strong i="32">@raspberrypi</strong>:~ $ sudo netstat -nap | grep 56001
pi<strong i="33">@raspberrypi</strong>:~ $ cd /home/pi/edge-home-orchestration-go
pi<strong i="34">@raspberrypi</strong>:~/edge-home-orchestration-go $ make distclean

--------------------------------------
  Build clean
--------------------------------------
/bin/sh: 1: go: not found
make: *** [Makefile:190: clean] Error 127
pi<strong i="35">@raspberrypi</strong>:~/edge-home-orchestration-go $ sudo netstat -nap | grep 56001
pi<strong i="36">@raspberrypi</strong>:~/edge-home-orchestration-go $ 

_/bin/sh: 1: go: not found_ goコンパイラを正しくインストールすることをお勧めします。

rpi3にエッジオーケストレーションイメージがあり、そこでコマンドを実行する場合は、以下の手順に従ってください。

  1. docker ps -a
  2. Dockerストップエッジオーケストレーション
  3. dockerrmエッジオーケストレーション
  4. sudo netstat -nap | grep 56001
  5. docker run -it -d --privileged --network = "host" --name edge-orchestration -v / var / edge-orchestration /:/ var / edge-orchestration /:rw -v / var / run / docker。 sock:/ var / run / docker。 sock:rw -v / proc /:/ process /:ro edge- orch estration:coconut
  6. sudo netstat -nap | grep 56001
  7. curl -X POST "127.0.0.1:56001/api/v1/orchestration/services" -H "accept:application / json" -H "Content-Type:application / json" -d "{\" ServiceName \ ":\ "hello-world \"、\ "ServiceInfo \":[{\ "ExecutionType \":\ "container \"、\ "ExecCmd \":[\ "docker \"、\ "run \"、\ "-v \ "、\" / var / run:/ var / run:rw \ "、\" hello-world \ "]}]、\" StatusCallbackURI \ ":\" http:// localhost :8888 / api / v1 /サービス/通知\ "}"

完全なログ

pi<strong i="21">@raspberrypi</strong>:~ $ docker ps -a
CONTAINER ID   IMAGE                        COMMAND       CREATED         STATUS         PORTS     NAMES
3e6a436eaf2e   edge-orchestration:coconut   "sh run.sh"   4 minutes ago   Up 4 minutes             edge-orchestration

pi<strong i="22">@raspberrypi</strong>:~ $ docker stop edge-orchestration
edge-orchestration

pi<strong i="23">@raspberrypi</strong>:~ $ docker rm edge-orchestration
edge-orchestration

pi<strong i="24">@raspberrypi</strong>:~ $ sudo netstat -nap | grep 56001

pi<strong i="25">@raspberrypi</strong>:~ $ curl -X POST "127.0.0.1:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"ServiceName\": \"hello-world\", \"ServiceInfo\": [{ \"ExecutionType\": \"container\", \"ExecCmd\": [ \"docker\", \"run\", \"-v\", \"/var/run:/var/run:rw\", \"hello-world\"]}], \"StatusCallbackURI\": \"http://localhost:8888/api/v1/services/notification\"}"
curl: (7) Failed to connect to 127.0.0.1 port 56001: Connection refused

pi<strong i="26">@raspberrypi</strong>:~ $ docker run -it -d --privileged --network="host" --name edge-orchestration -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
2300211dd0283bac01a434ec38fa5bd19e1cbd34f7943b0d87f9a60fb69ea744

pi<strong i="27">@raspberrypi</strong>:~ $ sudo netstat -nap | grep 56001
tcp6       0      0 :::56001                :::*                    LISTEN      2994/edge-orchestra

pi<strong i="28">@raspberrypi</strong>:~ $ curl -X POST "127.0.0.1:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"ServiceName\": \"hello-world\", \"ServiceInfo\": [{ \"ExecutionType\": \"container\", \"ExecCmd\": [ \"docker\", \"run\", \"-v\", \"/var/run:/var/run:rw\", \"hello-world\"]}], \"StatusCallbackURI\": \"http://localhost:8888/api/v1/services/notification\"}"
{"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"10.113.71.53"},"ServiceName":"hello-world"}

pi<strong i="29">@raspberrypi</strong>:~ $ docker logs -f edge-orchestration
INFO[2021-08-18T23:46:22Z]main.go:91 orchestrationInit [interface] OrchestrationInit
INFO[2021-08-18T23:46:22Z]main.go:92 orchestrationInit >>> commitID  :  e75c75e
INFO[2021-08-18T23:46:22Z]main.go:93 orchestrationInit >>> version   :
INFO[2021-08-18T23:46:22Z]main.go:94 orchestrationInit >>> buildTime :  20210818.0710
INFO[2021-08-18T23:46:22Z]main.go:95 orchestrationInit >>> buildTags :
INFO[2021-08-18T23:46:22Z]cipherDummy.go:46 GetCipher can't read passphrase key from keyFilePath -  open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory
INFO[2021-08-18T23:46:22Z]discovery.go:744 clearAllDeviceInfo [discoverymgr] Delete All Device Info
INFO[2021-08-18T23:46:22Z]discovery.go:839 deleteDevice [discoverymgr] [deleteDevice] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:22Z]helper.go:104 DoGet [http://10.113.71.53:56002/api/v1/ping] reqeust get failed !!, err = Get "http://10.113.71.53:56002/api/v1/ping": dial tcp 10.113.71.53:56002: connect: connection refused
INFO[2021-08-18T23:46:22Z]roundtriptime.go:92 checkRTT Get "http://10.113.71.53:56002/api/v1/ping": dial tcp 10.113.71.53:56002: connect: connection refused
INFO[2021-08-18T23:46:22Z]networkhelper.go:194 setAddrInfo [networkmgr] addr 10.113.71.53/24
INFO[2021-08-18T23:46:22Z]discovery.go:398 setDeviceID [discoverymgr] UUID :  f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:22Z]discovery.go:542 SetNetwotkArgument [discoverymgr] [10.113.71.53]
INFO[2021-08-18T23:46:22Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:22Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:22Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:22Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:22Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]configuremgr.go:146 Watch start watching for /var/edge-orchestration/apps
INFO[2021-08-18T23:46:23Z]configuremgr.go:147 Watch configuremgr watcher register end
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1Ping GET /api/v1/ping 0x6abbf4}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1ServicemgrServicesPost POST /api/v1/servicemgr/services 0x6abc80}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1ServicemgrServicesNotificationServiceIDPost POST /api/v1/servicemgr/services/notification/{serviceid} 0x6abcec}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1ScoringmgrScoreLibnameGet GET /api/v1/scoringmgr/score 0x6abd58}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1ScoringmgrResourceGet GET /api/v1/scoringmgr/resource 0x6abdc4}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1DiscoverymgrMNEDCDeviceInfoPost POST /api/v1/discoverymgr/register 0x6abe30}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1DiscoverymgrOrchestrationInfoGet GET /api/v1/discoverymgr/orchestrationinfo 0x6abe9c}
INFO[2021-08-18T23:46:23Z]cipherDummy.go:46 GetCipher can't read passphrase key from keyFilePath -  open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1RequestServicePost POST /api/v1/orchestration/services 0x6a820c}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1RequestSecuremgrPost POST /api/v1/orchestration/securemgr 0x6a8278}
INFO[2021-08-18T23:46:23Z]route.go:115 listenAndServe ListenAndServe_For_Inter
INFO[2021-08-18T23:46:23Z]route.go:119 listenAndServe ListenAndServe
INFO[2021-08-18T23:46:23Z]main.go:182 orchestrationInit interface orchestration init done
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:24Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:24Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:24Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:24Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:24Z]discovery.go:577 func1
INFO[2021-08-18T23:46:34Z]externalhandler.go:93 APIV1RequestServicePost [RestExternalInterface] APIV1RequestServicePost
INFO[2021-08-18T23:46:34Z]externalhandler.go:157 APIV1RequestServicePost port:  48442
INFO[2021-08-18T23:46:34Z]senderresolver.go:75 GetNameByPort returning:  curl
INFO[2021-08-18T23:46:34Z]externalhandler.go:162 APIV1RequestServicePost requester:  curl
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:131 RequestService [RequestService] hello-world: [{container [docker run -v /var/run:/var/run:rw hello-world] map[]}]
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:157 RequestService [RequestService] getCandidate
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:159 RequestService [0] Id       : edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:160 RequestService [0] ExecType : container
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:161 RequestService [0] Endpoint : [10.113.71.53]
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:162 RequestService
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:340 func3 [orchestrationapi] deviceScore
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:341 func3 candidate Id       : edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:342 func3 candidate ExecType : container
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:343 func3 candidate Endpoint : 10.113.71.53
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:344 func3 candidate score    : 10.857023336603943
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:247 RequestService [orchestrationapi]  [{edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415 10.113.71.53 10.857023336603943 map[] container}]
INFO[2021-08-18T23:46:34Z]containerexecutor.go:70 Execute [containerexecutor] hello-world [docker run -v /var/run:/var/run:rw hello-world]
INFO[2021-08-18T23:46:34Z]containerexecutor.go:71 Execute [containerexecutor] parameter length : 5
INFO[2021-08-18T23:46:34Z]route.go:131 func1 From [127.0.0.1:48442] POST /api/v1/orchestration/services APIV1RequestServicePost 132.227406ms
INFO[2021-08-18T23:46:37Z]containerexecutor.go:83 Execute [containerexecutor] Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
INFO[2021-08-18T23:46:38Z]containerexecutor.go:91 Execute [containerexecutor] create container : a020e6d949
2021-08-18T23:46:39.925079455Z
2021-08-18T23:46:39.925639564Z Hello from Docker!
2021-08-18T23:46:39.925772169Z This message shows that your installation appears to be working correctly.
2021-08-18T23:46:39.925849409Z
2021-08-18T23:46:39.925914305Z To generate this message, Docker took the following steps:
2021-08-18T23:46:39.925977483Z  1. The Docker client contacted the Docker daemon.
2021-08-18T23:46:39.926037640Z  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
2021-08-18T23:46:39.926098213Z     (arm32v7)
2021-08-18T23:46:39.926155557Z  3. The Docker daemon created a new container from that image which runs the
2021-08-18T23:46:39.926213526Z     executable that produces the output you are currently reading.
2021-08-18T23:46:39.926271704Z  4. The Docker daemon streamed that output to the Docker client, which sent it
2021-08-18T23:46:39.926328423Z     to your terminal.
2021-08-18T23:46:39.926383632Z
2021-08-18T23:46:39.926441028Z To try something more ambitious, you can run an Ubuntu container with:
2021-08-18T23:46:39.926499362Z  $ docker run -it ubuntu bash
2021-08-18T23:46:39.926554883Z
2021-08-18T23:46:39.926610300Z Share images, automate workflows, and more with a free Docker ID:
2021-08-18T23:46:39.926670457Z  https://hub.docker.com/
2021-08-18T23:46:39.926727281Z
2021-08-18T23:46:39.926781448Z For more examples and ideas, visit:
2021-08-18T23:46:39.926836709Z  https://docs.docker.com/get-started/
2021-08-18T23:46:39.926890928Z
INFO[2021-08-18T23:46:40Z]containerexecutor.go:117 Execute [containerexecutor] container execution status : 0
INFO[2021-08-18T23:46:40Z]orchestrationapi.go:448 listenNotify [orchestrationapi] service status changed [appNames:hello-world][status:Finished]

私はまだどこが間違っているのか理解できません


make [2]:ディレクトリ '/ home / pi / edge-home-orchestration-go / examples / native'に入る
make [2]:ディレクトリを離れる '/ home / pi / edge-home-orchestration-go / examples / native'
make [1]:ディレクトリを離れる '/ home / pi / edge-home-orchestration-go'


Modベンダーに行く

GO111MODULE = on gomodベンダー


実行可能バイナリを作成する

GOARM = 7 GOARCH = arm GO111MODULE = on go build -a -ldflags'-extldflags "-static" -X main.version = -X main.commitID = e75c75e -X main.buildTime = 20210819.0806 -X main.buildTags = '- o / home / pi / edge-home-orchestration-go / bin / edge-orchestration /home/pi/edge-home-orchestration-go/cmd/edge-orchestration/main.go || 出口1
Dockerイメージ
合計18380
drwxr-xr-x 3 pi docker 4096 Aug 1908:09。
drwxr-xr-x 17 pi docker 4096 Aug 19 08:06 ..
-rwxr-xr-x 1 pi pi 18807524 Aug 19 08:09 edge-orchestration
drwxr-xr-x 2 pi docker 4096 Aug 16 19:32 qemu
build_docker_containerを作成します
make [1]:ディレクトリ '/ home / pi / edge-home-orchestration-go'に入る


Dockerコンテナarm32v7を作成します

docker rm -f "エッジオーケストレーション"
エラー:そのようなコンテナはありません:エッジオーケストレーション
docker rmi -f "edge-orchestration": "ココナッツ"
タグなし:エッジオーケストレーション:ココナッツ
削除:sha256:22a0cb262840318f581fb10e70c0cebd1f060f5e22e768fdca8d675a85b9d9bb
削除:sha256:48c7f6a1d5a761851b97b509d55b8071880ee3cc5e8c161d4d1c27ec577fc805
削除:sha256:fff87bea1b311f675c2dbf8644111b5823347fb88125b66a70de0c8fcb15dc2c
削除:sha256:bc1c0506020ef2a3f34d98d8c55c5ed45605237c2dfdfea47f750188cdd88192
削除:sha256:8ffe2d772ef269670bb4902f00daf0628b17ae09d12e26e52ba1d5ccb1d8f1e7
削除:sha256:b3e2316bef6326528bbfe6d86c035bfc14ef1f96b48b42f5b29​​17a83dbb10aa2
削除:sha256:9f13ce2dc17389d91255f7bc92f381f5a173cc60bdfa048f5ab39ef923c74079
削除:sha256:d6251c5a9b52c0c1a2248dcd94c48c17edabc8c67424aa01202b92e22b3ce823
削除:sha256:246c1dc7ec48c03354a4f8f47cc6b7a34e7b5f463d0704d93e2bed630a028390
削除済み:sha256:7e5898fa738759e50c07ee48a560501add8066716198e7124f50810677240068
削除:sha256:54975ebba9f478912f62a56baa6ec1f2105ddb7e798c5ea1eb5fe689facb49e6
削除:sha256:28f916d70bd7a3e9acd32cfde7c2f5d47873a667ba8c004f29dc1d00d4ba532e
削除:sha256:e871246e1657e4b7ac90c04b566729feb8a4218301fb52ad7a15c3f31f5a3841
削除:sha256:eed84de39c9afef1a9c265e14810036dc947d4f7868209fe7e122e8e6f022814
削除:sha256:e637eee76eeebc889a7ed1889693d3d6821d009ec8e2cab766d45a460ae4d785
削除:sha256:f3b92a019a90d4ee5cad0d5655a92ba47660e283bb6b93915adad7c792931252
削除:sha256:062720f3faa7fec2c82d8583114be716956267bec56c0f10c6e2a61c1d448214
削除済み:sha256:3ff3e65bb0031434818312701a9191ae26fae794964f6414832fc28d26f972e2
削除:sha256:c5507a13ee9970fc571f9fbcb807915a4f4910dc652c1b952526ec0a47314601
削除:sha256:c639e172668f5269e75a926c94e5904bfe863eca17fc86c657e1803fe969e247
削除:sha256:6e5d9ba4fcdc5e054936d90b79901ab361c0a3a35116cc802a0f8a6aef815a73
削除:sha256:ef27fab77e1d1c740061af1c130ef3298213d4345a06f24539e74ccb7ec6dabf
削除:sha256:3b64d3d57260226e3712c0a2045e55c8f6a03e7824bb06df7bfde701af2cb0b5
docker build --tag edge-orchestration: "coconut" --file / home / pi / edge-home-orchestration-go / Dockerfile --build-arg PLATFORM = "arm32v7"。
Dockerデーモンへのビルドコンテキストの送信143.3MB
ステップ1/20:ARG PLATFORM
ステップ2/20:FROM $ PLATFORM / ubuntu:16.04
---> f46cdaad2749
ステップ3/20:ENV TARGET_DIR = / edge-orchestration
---> 70dad2a749b6で実行
中間コンテナの削除70dad2a749b6
---> 4ab635240793
ステップ4/20:ENV HTTP_PORT = 56001
---> 15ae8391dc94で実行
中間コンテナの削除15ae8391dc94
---> d6f176ec44d9
ステップ5/20:ENV MDNS_PORT = 5353
---> bb6253bafcf2で実行
中間コンテナーbb6253bafcf2の削除
---> 1baef9009eb9
ステップ6/20:ENV MNEDC_PORT = 3334
---> e3c11675886aで実行
中間コンテナe3c11675886aの削除
---> c39da6de51cd
ステップ7/20:ENV MNEDC_BROADCAST_PORT = 3333
---> 47ae6d2c29e0で実行
中間コンテナの削除47ae6d2c29e0
---> 764ff0da6440
ステップ8/20:ENV ZEROCONF_PORT = 42425
---> a3b298494873で実行
中間コンテナの削除a3b298494873
---> 05d0c25de5d6
ステップ9/20:ENV APP_BIN_DIR = bin
---> 83096a7bcef2で実行
中間コンテナの削除83096a7bcef2
---> 507485e6261b
ステップ10/20:ENV APP_NAME = edge-orchestration
---> b81205e34a95で実行
中間コンテナの削除b81205e34a95
---> 92f1c9fc3454
ステップ11/20:ENV APP_QEMU_DIR = $ APP_BIN_DIR / qemu
---> 14cbbb19dfddで実行
中間コンテナの削除14cbbb19dfdd
---> d83e4ce65024
ステップ12/20:ENV BUILD_DIR = build
---> 82e1f5725bbdで実行
中間コンテナの削除82e1f5725bbd
---> 18ddf31da323
ステップ13/20:COPY $ APP_BIN_DIR / $ APP_NAME $ BUILD_DIR / package / run.sh $ TARGET_DIR /
---> c6fcc1d6f82b
ステップ14/20:COPY $ APP_QEMU_DIR / / usr / bin /
---> 83a6bcd12c2c
ステップ15/20:mkdir -p $ TARGET_DIR / res /を実行します
---> 1d9492777a4aで実行
中間コンテナの削除1d9492777a4a
---> da93c71468a0
ステップ16/20:apt-getupdateを実行します
---> 4d1611cb7833で実行
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease [247 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [109 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-backports InRelease [107 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease [109 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports xenial / mainarmhfパッケージ[1486kB]
Get:6http://ports.ubuntu.com/ubuntu-portsxenial/restrictedarmhfパッケージ[8491B]
Get:7 http://ports.ubuntu.com/ubuntu-ports xenial / universearmhfパッケージ[9531kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports xenial / multiversearmhfパッケージ[149kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports xenial-updates / mainarmhfパッケージ[1694kB]
Get:10http://ports.ubuntu.com/ubuntu-portsxenial-updates/restrictedarmhfパッケージ[10.4kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports xenial-updates / universearmhfパッケージ[1399kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports xenial-updates / multiversearmhfパッケージ[19.0kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports xenial-backports / mainarmhfパッケージ[10.9kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports xenial-backports / universearmhfパッケージ[12.1kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports xenial-security / mainarmhfパッケージ[1242kB]
Get:16http://ports.ubuntu.com/ubuntu-portsxenial-security/restrictedarmhfパッケージ[10.4kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports xenial-security / universearmhfパッケージ[874kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports xenial-security / multiversearmhfパッケージ[5050B]
8秒で17.0MBをフェッチ(1952 kB / s)
パッケージリストを読む...
中間コンテナの削除4d1611cb7833
---> c34e823686ea
ステップ17/20:apt-get install -y net-toolsiproute2を実行します
---> dbde39e87c2fで実行
パッケージリストを読む...
依存関係ツリーを構築しています...
状態情報の読み取り...
次の追加パッケージがインストールされます。
libatm1 libmnl0 libxtables11
推奨パッケージ:
iproute2-doc
次の新しいパッケージがインストールされます。
iproute2 libatm1 libmnl0 libxtables11 net-tools
0がアップグレードされ、5が新しくインストールされ、0が削除され、0がアップグレードされていません。
698kBのアーカイブを取得する必要があります。
この操作の後、1987kBの追加のディスクスペースが使用されます。
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial / main armhf libatm1 armhf 1:2.5.1-1.5 [20.7 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial / main armhf libmnl0 armhf 1.0.3-5 [10.8 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates / main armhf iproute2 armhf 4.3.0-1ubuntu3.16.04.5 [479 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports xenial / main armhf libxtables11 armhf 1.6.0-2ubuntu3 [24.8 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports xenial / main armhf net-tools armhf 1.60-26ubuntu1 [163 kB]
debconf:apt-utilsがインストールされていないため、パッケージ構成が遅れます
1秒で698kBをフェッチ(582 kB / s)
以前に選択されていないパッケージlibatm1:armhfを選択します。
(データベースを読み込んでいます...現在インストールされている4775個のファイルとディレクトリ。)
開梱の準備をしています... / libatm1_1%3a2.5.1-1.5_armhf.deb..。
libatm1:armhf(1:2.5.1-1.5)を解凍しています..。
以前に選択されていないパッケージlibmnl0:armhfを選択します。
解凍の準備をしています... / libmnl0_1.0.3-5_armhf.deb..。
libmnl0:armhf(1.0.3-5)を解凍しています..。
以前に選択されていないパッケージiproute2を選択しています。
解凍の準備をしています... / iproute2_4.3.0-1ubuntu3.16.04.5_armhf.deb..。
iproute2(4.3.0-1ubuntu3.16.04.5)を解凍しています..。
以前に選択されていないパッケージlibxtables11:armhfを選択します。
解凍の準備をしています... / libxtables11_1.6.0-2ubuntu3_armhf.deb..。
libxtables11:armhf(1.6.0-2ubuntu3)を解凍しています..。
以前に選択されていないパッケージnet-toolsを選択します。
解凍の準備をしています... / net-tools_1.60-26ubuntu1_armhf.deb..。
ネットツールの開梱(1.60-26ubuntu1)..。
libc-bin(2.23-0ubuntu11.3)のトリガーを処理しています...
libatm1:armhf(1:2.5.1-1.5)の設定..。
libmnl0:armhf(1.0.3-5)の設定..。
iproute2(4.3.0-1ubuntu3.16.04.5)の設定..。
libxtables11:armhf(1.6.0-2ubuntu3)の設定..。
ネットツールの設定(1.60-26ubuntu1)..。
libc-bin(2.23-0ubuntu11.3)のトリガーを処理しています...
中間コンテナーdbde39e87c2fの削除
---> 0b4e80a6eaac
ステップ18/20:EXPOSE $ HTTP_PORT $ MDNS_PORT $ ZEROCONF_PORT $ MNEDC_PORT $ MNEDC_BROADCAST_PORT
---> cfb78c7cdcdaで実行
中間コンテナの削除cfb78c7cdcda
---> ce1718022bb6
ステップ19/20:WORKDIR $ TARGET_DIR
---> 29e55fef151eで実行
中間コンテナの削除29e55fef151e
---> b43874bfaaca
ステップ20/20:CMD ["sh"、 "run.sh"]
---> 6fa24db2bf9eで実行
中間コンテナーの削除6fa24db2bf9e
---> 2ef4d528d390
正常に構築された2ef4d528d390
正常にタグ付けされたエッジオーケストレーション:ココナッツ
docker save -o /home/pi/edge-home-orchestration-go/bin/edge-orchestration.tar edge-orchestration
make [1]:ディレクトリを離れる '/ home / pi / edge-home-orchestration-go'
pi @raspberrypi :〜/ edge-home-orchestration-go $ docker images
リポジトリタグの画像ID作成サイズ
エッジオーケストレーションココナッツ2ef4d528d39039秒前154MB
arm32v7 / ubuntu 16.04 f46cdaad27493週間前106MB
hello-world最新1a30b43978395週間前4.85kB
pi @raspberrypi :〜/ edge-home-orchestration-go $ cd bin /
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ ls
edge-orchestration edge-orchestration.tar qemu
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker loaad -i edge-orchestration.tar
不明な短縮フラグ:-iの「i」
'docker--help'を参照してください。

使用法:docker [オプション]コマンド

コンテナの自給自足のランタイム

オプション:
--config stringクライアント構成ファイルの場所(デフォルトは「/home/pi/.docker」)
-c、-contextstringデーモンへの接続に使用するコンテキストの名前
(DOCKER_HOST envvarおよびデフォルトのコンテキストセットをオーバーライドします
「Dockerコンテキストの使用」)
-D、-debugデバッグモードを有効にします
-H、-hostlist接続するデーモンソケット
-l、-log-level stringログレベルを設定します( "debug" | "info" | "warn" | "error" | "fatal")
(デフォルトの「情報」)
--tlsTLSを使用します。 --tlsverifyによって暗示されます
--tlscacert stringこのCAによってのみ署名された信頼証明書(デフォルト
"/home/pi/.docker/ca.pem")
--tlscert string TLS証明書ファイルへのパス(デフォルトは「/home/pi/.docker/cert.pem」)
--tlskey string TLSキーファイルへのパス(デフォルトは「/home/pi/.docker/key.pem」)
--tlsverify TLSを使用して、リモートを確認します
-v、-versionバージョン情報を出力して終了します

管理コマンド:
app * Docker App(Docker Inc.、v0.9.1-beta3)
ビルダービルドの管理
buildx * BuildKitでビルド(Docker Inc.、v0.6.1-docker)
configDocker構成を管理します
コンテナコンテナを管理する
コンテキストコンテキストを管理する
画像画像を管理する
マニフェストDockerイメージマニフェストとマニフェストリストを管理する
ネットワークネットワークを管理する
nodeSwarmノードを管理する
プラグインプラグインを管理する
secretDockerシークレットを管理する
サービスサービスを管理する
スタックDockerスタックを管理します
群れ管理群れ
システム管理Docker
trustDockerイメージの信頼を管理します
ボリュームボリュームを管理する

コマンド:
アタッチローカル標準の入力、出力、およびエラーストリームを実行中のコンテナーにアタッチします
buildDockerfileからイメージをビルドします
commitコンテナの変更から新しいイメージを作成します
cpコンテナとローカルファイルシステム間でファイル/フォルダをコピーする
create新しいコンテナを作成します
diffコンテナのファイルシステム上のファイルまたはディレクトリへの変更を検査します
eventsサーバーからリアルタイムのイベントを取得します
exec実行中のコンテナでコマンドを実行します
exportコンテナのファイルシステムをtarアーカイブとしてエクスポートします
履歴画像の履歴を表示する
画像リスト画像
importtarballからコンテンツをインポートしてファイルシステムイメージを作成します
infoシステム全体の情報を表示します
検査Dockerオブジェクトに関する低レベルの情報を返します
kill1つ以上の実行中のコンテナを強制終了します
loadtarアーカイブまたはSTDINから画像をロードします
ログインDockerレジストリにログインします
ログアウトDockerレジストリからログアウトします
ログコンテナのログを取得します
一時停止1つ以上のコンテナ内のすべてのプロセスを一時停止します
portポートマッピングまたはコンテナの特定のマッピングを一覧表示します
psリストコンテナ
プルレジストリからイメージまたはリポジトリをプルします
pushイメージまたはリポジトリをレジストリにプッシュします
名前の変更コンテナの名前を変更
再起動1つ以上のコンテナを再起動します
rm1つ以上のコンテナを削除します
rmi1つ以上の画像を削除します
run新しいコンテナでコマンドを実行します
保存1つ以上の画像をtarアーカイブに保存します(デフォルトではSTDOUTにストリーミングされます)
検索DockerHubで画像を検索します
start1つ以上の停止したコンテナーを開始します
statsコンテナのリソース使用統計のライブストリームを表示します
停止1つ以上の実行中のコンテナーを停止します
tagSOURCE_IMAGEを参照するタグTARGET_IMAGEを作成します
topコンテナの実行中のプロセスを表示します
unpause1つ以上のコンテナ内のすべてのプロセスの一時停止を解除します
update1つ以上のコンテナーの構成を更新します
versionDockerのバージョン情報を表示します
1つ以上のコンテナーが停止するまでブロックを待機してから、それらの終了コードを出力します

コマンドの詳細については、「dockerCOMMAND--help」を実行してください。

Dockerの詳細については、https://docs.docker.com/go/guides/のガイドをご覧ください。

pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker load -i edge-orchestration.tar
ロードされた画像:エッジオーケストレーション:ココナッツ
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker images
リポジトリタグの画像ID作成サイズ
エッジオーケストレーションココナッツ2ef4d528d3902分前154MB
arm32v7 / ubuntu 16.04 f46cdaad27493週間前106MB
hello-world最新1a30b43978395週間前4.85kB
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker run -it -d --privileged --network = "host" --name edge-orchestration -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
c0c5c6c41db35d641c5d94b50089938eeaeb1945bd16cc1d3405d290740e203e
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ curl -X POST "192.168.0.37:56001 / api / v1 / orchestration / services" -H "accept:application / json" -H "Content-Type :application / json "-d" {"ServiceName": "hello-world"、 "ServiceInfo":[{"ExecutionType": "container"、 "ExecCmd":["docker"、 "run"、 "-v" 、 "/ var / run:/ var / run:rw"、 "hello-world"]}]、 "StatusCallbackURI": "http:// localhost:8888 / api / v1 / services / notification \"} "

^ C
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker run -it -d --privileged --network = "host" --name edge-orchestration -e SECURE = true -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
docker:デーモンからのエラー応答:競合。 コンテナ名「/ edge-orchestration」は、コンテナ「c0c5c6c41db35d641c5d94b50089938eeaeb1945bd16cc1d3405d290740e203e」ですでに使用されています。 その名前を再利用できるようにするには、そのコンテナを削除(または名前変更)する必要があります。
'docker run--help'を参照してください。
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker logs -f edge-orchestration
INFO [2021-08-19T07:13:33Z] main.go:91 orchestrationInit [インターフェース] OrchestrationInit
INFO [2021-08-19T07:13:33Z] main.go:92 orchestrationInit >>> commitID:e75c75e
INFO [2021-08-19T07:13:33Z] main.go:93 orchestrationInit >>>バージョン:
INFO [2021-08-19T07:13:33Z] main.go:94 orchestrationInit >>> buildTime:20210819.0806
INFO [2021-08-19T07:13:33Z] main.go:95 orchestrationInit >>> buildTags:
INFO [2021-08-19T07:13:33Z] cipherDummy.go:46 GetCipherはkeyFilePathからパスフレーズキーを読み取ることができません-/ var / edge-orchestration / user / orchestration_userID.txtを開きます:そのようなファイルまたはディレクトリはありません
INFO [2021-08-19T07:13:33Z] Discovery.go:744 clearAllDeviceInfo [discoverymgr]すべてのデバイス情報を削除
INFO [2021-08-19T07:13:33Z] Discovery.go:839 deleteDevice [discoverymgr] [deleteDevice] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:13:33Z] networkhelper.go:194 setAddrInfo [networkmgr] addr 192.168.0.37/24
INFO [2021-08-19T07:13:33Z] Discovery.go:398 setDeviceID [discoverymgr] UUID:28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:13:33Z] Discovery.go:542 SetNetwotkArgument [discoverymgr] [192.168.0.37]
INFO [2021-08-19T07:13:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:13:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:13:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([])、RTT(0)
INFO [2021-08-19T07:13:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:13:33Z] Discovery.go:577 func1
INFO [2021-08-19T07:13:33Z] configuremgr.go:146 / var / edge-orchestration / appsの監視を開始する
INFO [2021-08-19T07:13:33Z] configuremgr.go:147監視configuremgrウォッチャーレジスタ終了
INFO [2021-08-19T07:13:33Z] route.go:84 Add {APIV1Ping GET / api / v1 / ping 0x6ac060}
INFO [2021-08-19T07:13:33Z] route.go:84 Add {APIV1ServicemgrServicesPost POST / api / v1 / servicemgr / services 0x6ac0ec}
INFO [2021-08-19T07:13:33Z] route.go:84 Add {APIV1ServicemgrServicesNotificationServiceIDPost POST / api / v1 / servicemgr / services / notify / {serviceid} 0x6ac158}
INFO [2021-08-19T07:13:33Z] route.go:84 Add {APIV1ScoringmgrScoreLibnameGet GET / api / v1 / scoringmgr / score 0x6ac1c4}
INFO [2021-08-19T07:13:33Z] route.go:84 Add {APIV1ScoringmgrResourceGet GET / api / v1 / scoringmgr / resource 0x6ac230}
INFO [2021-08-19T07:13:33Z] route.go:84 Add {APIV1DiscoverymgrMNEDCDeviceInfoPost POST / api / v1 / Discoverymgr / register 0x6ac29c}
INFO [2021-08-19T07:13:33Z] route.go:84 Add {APIV1DiscoverymgrOrchestrationInfoGet GET / api / v1 / Discoverymgr / orchestrationinfo 0x6ac308}
INFO [2021-08-19T07:13:33Z] cipherDummy.go:46 GetCipherはkeyFilePathからパスフレーズキーを読み取ることができません-/ var / edge-orchestration / user / orchestration_userID.txtを開きます:そのようなファイルまたはディレクトリはありません
INFO [2021-08-19T07:13:33Z] route.go:84 Add {APIV1RequestServicePost POST / api / v1 / orchestration / services 0x6a8678}
INFO [2021-08-19T07:13:33Z] route.go:84 Add {APIV1RequestSecuremgrPost POST / api / v1 / orchestration / securemgr 0x6a86e4}
INFO [2021-08-19T07:13:33Z] route.go:115 listenAndServe ListenAndServe_For_Inter
INFO [2021-08-19T07:13:33Z] route.go:119 listenAndServe ListenAndServe
INFO [2021-08-19T07:13:33Z] main.go:182orchestrationInitインターフェイスオーケストレーションの初期化が完了しました
INFO [2021-08-19T07:13:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:13:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:13:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:13:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:13:33Z] Discovery.go:577 func1
INFO [2021-08-19T07:13:34Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:13:34Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:13:34Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:13:34Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:13:34Z] Discovery.go:577 func1
INFO [2021-08-19T07:13:34Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:13:34Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:13:34Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:13:34Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:13:34Z] Discovery.go:577 func1
INFO [2021-08-19T07:13:34Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:13:34Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:13:34Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([])、RTT(0)
INFO [2021-08-19T07:13:34Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:13:34Z] Discovery.go:577 func1
INFO [2021-08-19T07:13:34Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:13:34Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:13:34Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:13:34Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:13:34Z] Discovery.go:577 func1
INFO [2021-08-19T07:13:34Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:13:34Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:13:34Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:13:34Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:13:34Z] Discovery.go:577 func1
INFO [2021-08-19T07:13:35Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:13:35Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:13:35Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:13:35Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:13:35Z] Discovery.go:577 func1
INFO [2021-08-19T07:14:33Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-19T07:14:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:14:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:14:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:14:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:14:33Z] Discovery.go:577 func1
INFO [2021-08-19T07:14:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:14:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:14:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:14:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:14:33Z] Discovery.go:577 func1
INFO [2021-08-19T07:15:33Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-19T07:15:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:15:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:15:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:15:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:15:33Z] Discovery.go:577 func1
INFO [2021-08-19T07:15:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:15:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:15:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:15:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:15:33Z] Discovery.go:577 func1
INFO [2021-08-19T07:16:33Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-19T07:16:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:16:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:16:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:16:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:16:33Z] Discovery.go:577 func1
INFO [2021-08-19T07:16:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:16:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:16:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:16:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:16:33Z] Discovery.go:577 func1
INFO [2021-08-19T07:17:33Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-19T07:17:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:17:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:17:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:17:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:17:33Z] Discovery.go:577 func1
INFO [2021-08-19T07:17:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:17:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:17:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:17:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:17:33Z] Discovery.go:577 func1
INFO [2021-08-19T07:18:33Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-19T07:18:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:18:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:18:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:18:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:18:33Z] Discovery.go:577 func1
INFO [2021-08-19T07:18:33Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:18:33Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:18:33Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:18:33Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:18:33Z] Discovery.go:577 func1
^ C
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker stop edge-orchestration
エッジオーケストレーション
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker rm edge-orchestration
エッジオーケストレーション
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker run -it -d --privileged --network = "host" --name edge-orchestration -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
e2f758f3e9b66d674ce60dd57dd72cad967b58d9ed94289da8f9e924e62e165e
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker run -it -d --privileged --network = "host" --name edge-orchestration -e SECURE = true -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
docker:デーモンからのエラー応答:競合。 コンテナ名「/ edge-orchestration」は、コンテナ「e2f758f3e9b66d674ce60dd57dd72cad967b58d9ed94289da8f9e924e62e165e」ですでに使用されています。 その名前を再利用できるようにするには、そのコンテナを削除(または名前変更)する必要があります。
'docker run--help'を参照してください。
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker run -it -d --privileged --network = "host" --name edge-orchestration -e MNEDC = server -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
docker:デーモンからのエラー応答:競合。 コンテナ名「/ edge-orchestration」は、コンテナ「e2f758f3e9b66d674ce60dd57dd72cad967b58d9ed94289da8f9e924e62e165e」ですでに使用されています。 その名前を再利用できるようにするには、そのコンテナを削除(または名前変更)する必要があります。
'docker run--help'を参照してください。
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ curl -X POST "192.168.0.37:56001 / api / v1 / orchestration / services" -H "accept:application / json" -H "Content-Type :application / json "-d" {"ServiceName": "hello-world"、 "ServiceInfo":[{"ExecutionType": "container"、 "ExecCmd":["docker"、 "run"、 "-v" 、 "/ var / run:/ var / run:rw"、 "hello-world"]}]、 "StatusCallbackURI": "http:// localhost:8888 / api / v1 / services / notification \"} "
^ C
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker ps -a
コンテナIDイメージコマンドで作成されたステータスポート名
e2f758f3e9b6エッジオーケストレーション:ココナッツ "sh run.sh" 3分前アップ3分エッジオーケストレーション
882dfcf454da hello-world "/ hello" 2日前終了(0)2日前magical_beaver
d71ef8f47dbb hello-world "/ hello" 2日前終了(0)2日前strange_hertz
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker stop edge-orchestration
エッジオーケストレーション
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker rm edge-orchestration
エッジオーケストレーション
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ sudo netstat -nap | grep 56001
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ docker run -it -d --privileged --network = "host" --name edge-orchestration -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
6c3d4582207dd40939c4932417eb4b4f8277a263d780a516fe713f9411da73ab
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ sudo netstat -nap | grep 56001
tcp6 0 0 ::: 56001 ::: * LISTEN 5830 / edge-orchestra
pi @raspberrypi :〜/ edge-home-orchestration-go / bin $ curl -X POST "127.0.0.1:56001/api/v1/orchestration/services" -H "accept:application / json" -H "Content-Type :application / json "-d" {\ "ServiceName \":\ "hello-world \"、\ "ServiceInfo \":[{\ "ExecutionType \":\ "container \"、\ "ExecCmd \":[ \ "docker \"、\ "run \"、\ "-v \"、\ "/ var / run:/ var / run:rw \"、\ "hello-world \"]}]、\ "StatusCallbackURI \ ":\" http:// localhost:8888 / api / v1 / services / notification \ "}"
{"Message": "ERROR_NONE"、 "RemoteTargetInfo":{"ExecutionType": "container"、 "Target": "192.168.0.37"}、 "ServiceName": "hello-world"} pi @raspberrypi :〜/ edge -home-orchestration-go / bin $ sudo netstat -npi @raspberrypi :〜/ edge-home-orchestration-go / bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H " accept:application / json "-H" Content-Type:application / json "-d" {\ "ServiceName \":\ "hello-world \"、\ "ServiceInfo \":[{\ "ExecutionType \":\ "container \"、\ "ExecCmd \":[\ "docker \"、\ "run \"、\ "-v \"、\ "/ var / run:/ var / run:rw \"、\ "hello -world \ "]}]、\" StatusCallbackURI \ ":\" http:// localhost:8888 / api / v1 / services / notification \ "}"
{"Message": "ERROR_NONE"、 "RemoteTargetInfo":{"ExecutionType": "container"、 "Target": "192.168.0.37"}、 "ServiceName": "hello-world"} pi @raspberrypi :〜/ edge -home-orchestration-go / bin $ docker logs -f edge-orchestration
INFO [2021-08-19T07:23:49Z] main.go:91 orchestrationInit [インターフェース] OrchestrationInit
INFO [2021-08-19T07:23:49Z] main.go:92 orchestrationInit >>> commitID:e75c75e
INFO [2021-08-19T07:23:49Z] main.go:93 orchestrationInit >>>バージョン:
INFO [2021-08-19T07:23:49Z] main.go:94 orchestrationInit >>> buildTime:20210819.0806
INFO [2021-08-19T07:23:49Z] main.go:95 orchestrationInit >>> buildTags:
INFO [2021-08-19T07:23:49Z] cipherDummy.go:46 GetCipherはkeyFilePathからパスフレーズキーを読み取ることができません-/ var / edge-orchestration / user / orchestration_userID.txtを開きます:そのようなファイルまたはディレクトリはありません
INFO [2021-08-19T07:23:49Z] Discovery.go:744 clearAllDeviceInfo [discoverymgr]すべてのデバイス情報を削除
INFO [2021-08-19T07:23:49Z] Discovery.go:839 deleteDevice [discoverymgr] [deleteDevice] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:23:49Z] networkhelper.go:194 setAddrInfo [networkmgr] addr 192.168.0.37/24
INFO [2021-08-19T07:23:49Z] Discovery.go:398 setDeviceID [discoverymgr] UUID:28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:23:49Z] Discovery.go:542 SetNetwotkArgument [discoverymgr] [192.168.0.37]
INFO [2021-08-19T07:23:49Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:23:49Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:23:49Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:23:49Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:23:49Z] Discovery.go:577 func1
INFO [2021-08-19T07:23:49Z] configuremgr.go:146 / var / edge-orchestration / appsの監視を開始する
INFO [2021-08-19T07:23:49Z] configuremgr.go:147監視configuremgrウォッチャーレジスタ終了
INFO [2021-08-19T07:23:49Z] route.go:84 Add {APIV1Ping GET / api / v1 / ping 0x6ac060}
INFO [2021-08-19T07:23:49Z] route.go:84追加{APIV1ServicemgrServicesPost POST / api / v1 / servicemgr / services 0x6ac0ec}
INFO [2021-08-19T07:23:49Z] helper.go:104 DoGet [http://192.168.0.37:56002/api/v1/ping] reqeust get failed !!、err = Get "http://192.168 .0.37:56002 / api / v1 / ping ":ダイヤルtcp 192.168.0.37:56002:接続:接続が拒否されました
INFO [2021-08-19T07:23:49Z] roundtriptime.go:92 checkRTT Get "http://192.168.0.37:56002/api/v1/ping":dial tcp 192.168.0.37:56002:connect:connection refused
INFO [2021-08-19T07:23:49Z] route.go:84 Add {APIV1ServicemgrServicesNotificationServiceIDPost POST / api / v1 / servicemgr / services / notification / {serviceid} 0x6ac158}
INFO [2021-08-19T07:23:49Z] route.go:84 Add {APIV1ScoringmgrScoreLibnameGet GET / api / v1 / scoringmgr / score 0x6ac1c4}
INFO [2021-08-19T07:23:49Z] route.go:84 Add {APIV1ScoringmgrResourceGet GET / api / v1 / scoringmgr / resource 0x6ac230}
INFO [2021-08-19T07:23:49Z] route.go:84 Add {APIV1DiscoverymgrMNEDCDeviceInfoPost POST / api / v1 / Discoverymgr / register 0x6ac29c}
INFO [2021-08-19T07:23:49Z] route.go:84 Add {APIV1DiscoverymgrOrchestrationInfoGet GET / api / v1 / Discoverymgr / orchestrationinfo 0x6ac308}
INFO [2021-08-19T07:23:49Z] cipherDummy.go:46 GetCipherはkeyFilePathからパスフレーズキーを読み取ることができません-/ var / edge-orchestration / user / orchestration_userID.txtを開きます:そのようなファイルまたはディレクトリはありません
INFO [2021-08-19T07:23:49Z] route.go:84 Add {APIV1RequestServicePost POST / api / v1 / orchestration / services 0x6a8678}
INFO [2021-08-19T07:23:49Z] route.go:84 Add {APIV1RequestSecuremgrPost POST / api / v1 / orchestration / securemgr 0x6a86e4}
INFO [2021-08-19T07:23:49Z] route.go:115 listenAndServe ListenAndServe_For_Inter
INFO [2021-08-19T07:23:49Z] route.go:119 listenAndServe ListenAndServe
INFO [2021-08-19T07:23:49Z] main.go:182orchestrationInitインターフェイスオーケストレーションの初期化が完了しました
INFO [2021-08-19T07:23:49Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:23:49Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:23:49Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([])、RTT(0)
INFO [2021-08-19T07:23:49Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:23:49Z] Discovery.go:577 func1
INFO [2021-08-19T07:23:49Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:23:49Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:23:49Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:23:49Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:23:49Z] Discovery.go:577 func1
INFO [2021-08-19T07:23:49Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:23:49Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:23:49Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:23:49Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:23:49Z] Discovery.go:577 func1
INFO [2021-08-19T07:23:49Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:23:49Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:23:49Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([])、RTT(0)
INFO [2021-08-19T07:23:49Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:23:49Z] Discovery.go:577 func1
INFO [2021-08-19T07:23:49Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:23:49Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:23:49Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:23:49Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:23:49Z] Discovery.go:577 func1
INFO [2021-08-19T07:23:49Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:23:49Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:23:49Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:23:49Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:23:49Z] Discovery.go:577 func1
INFO [2021-08-19T07:23:50Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:23:50Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:23:50Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:23:50Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:23:50Z] Discovery.go:577 func1
INFO [2021-08-19T07:24:41Z] externalhandler.go:93 APIV1RequestServicePost [RestExternalInterface] APIV1RequestServicePost
INFO [2021-08-19T07:24:41Z] externalhandler.go:157 APIV1RequestServicePostポート:33118
INFO [2021-08-19T07:24:42Z] senderresolver.go:75 GetNameByPort return:curl
INFO [2021-08-19T07:24:42Z] externalhandler.go:162 APIV1RequestServicePostリクエスター:curl
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:131 RequestService [RequestService] hello-world:[{container [docker run -v / var / run:/ var / run:rw hello-world] map [ ]}]
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:157 RequestService [RequestService] getCandidate
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:159 RequestService [0] Id:edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:160 RequestService [0] ExecType:コンテナ
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:161 RequestService [0]エンドポイント:[192.168.0.37]
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:162 RequestService
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:340 func3 [orchestrationapi] deviceScore
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:341 func3候補ID:edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:342 func3候補ExecType:コンテナ
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:343 func3候補エンドポイント:192.168.0.37
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:344 func3候補スコア:14.846495859252466
INFO [2021-08-19T07:24:42Z] orchestrationapi.go:247 RequestService [orchestrationapi] [{edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 192.168.0.37 14.846495859252466 map [] container}]
INFO [2021-08-19T07:24:42Z] containerexecutor.go:70 [containerexecutor] hello-world [docker run -v / var / run:/ var / run:rwhello-world]を実行します
INFO [2021-08-19T07:24:42Z] containerexecutor.go:71 [containerexecutor]パラメーターの長さ:5を実行します
INFO [2021-08-19T07:24:42Z] route.go:131 func1 From [127.0.0.1:33118] POST / api / v1 / orchestration / services APIV1RequestServicePost 146.304475ms
{"status": "library / hello-worldからのプル"、 "id": "latest"}
{"ステータス": "ダイジェスト:sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38"}
{"status": "Status:画像はhello-world:latestの最新です"}
INFO [2021-08-19T07:24:44Z] containerexecutor.go:91 Execute [containerexecutor] create container:20d38d8de7
2021-08-19T07:24:45.974837713Z
2021-08-19T07:24:45.975191565Z Dockerからこんにちは!
2021-08-19T07:24:45.975228075Zこのメッセージは、インストールが正しく機能しているように見えることを示しています。
2021-08-19T07:24:45.975258648Z
2021-08-19T07:24:45.975288336Zこのメッセージを生成するために、Dockerは次の手順を実行しました。
2021-08-19T07:24:45.975318752Z 1.DockerクライアントがDockerデーモンに接続しました。
2021-08-19T07:24:45.975349169Z 2. Dockerデーモンは、DockerHubから「hello-world」イメージをプルしました。
2021-08-19T07:24:45.975380470Z(arm32v7)
2021-08-19T07:24:45.975410054Z 3. Dockerデーモンは、そのイメージから新しいコンテナーを作成しました。
2021-08-19T07:24:45.975440418Z実行可能ファイルで、現在読み取っている出力を生成します。
2021-08-19T07:24:45.975470835Z 4. Dockerデーモンは、その出力をDockerクライアントにストリーミングし、Dockerクライアントはそれを送信しました。
2021-08-19T07:24:45.975515991Zを端末に送信します。
2021-08-19T07:24:45.975546147Z
2021-08-19T07:24:45.975575626Zもっと野心的なことを試すために、次のコマンドでUbuntuコンテナーを実行できます。
2021-08-19T07:24:45.975605990Z $ docker run -it ubuntu bash
2021-08-19T07:24:45.975637500Z
2021-08-19T07:24:45.975669115Z無料のDocker IDを使用して、画像の共有、ワークフローの自動化などを行います。
2021-08-19T07:24:45.975699583Z https://hub.docker.com/
2021-08-19T07:24:45.975728802Z
2021-08-19T07:24:45.975758229Zその他の例とアイデアについては、次のWebサイトをご覧ください。
2021-08-19T07:24:45.975797916Z https://docs.docker.com/get-started/
2021-08-19T07:24:45.975828541Z
INFO [2021-08-19T07:24:46Z] containerexecutor.go:117 [containerexecutor]コンテナ実行ステータスを実行します:0
INFO [2021-08-19T07:24:46Z] orchestrationapi.go:448 listenNotify [orchestrationapi]サービスステータスが変更されました[appNames:hello-world] [status:Finished]
INFO [2021-08-19T07:24:49Z] Discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery !!!
INFO [2021-08-19T07:24:49Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO [2021-08-19T07:24:49Z] Discovery.go:574 func1 [deviceDetectionRoutine] confInfo:ExecType(container)、Platform(docker)
INFO [2021-08-19T07:24:49Z] Discovery.go:575 func1 [deviceDetectionRoutine] netInfo:IPv4([192.168.0.37])、RTT(0)
INFO [2021-08-19T07:24:49Z] Discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo:Services([])
INFO [2021-08-19T07:24:49Z] Discovery.go:577 func1
INFO [2021-08-19T07:24:49Z] Discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:24:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:24:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:24:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:24:49Z]discovery.go:577 func1
INFO[2021-08-19T07:25:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-19T07:25:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:25:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:25:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:25:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:25:49Z]discovery.go:577 func1
INFO[2021-08-19T07:25:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:25:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:25:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:25:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:25:49Z]discovery.go:577 func1
INFO[2021-08-19T07:26:22Z]externalhandler.go:93 APIV1RequestServicePost [RestExternalInterface] APIV1RequestServicePost
INFO[2021-08-19T07:26:22Z]externalhandler.go:157 APIV1RequestServicePost port: 40014
INFO[2021-08-19T07:26:22Z]senderresolver.go:75 GetNameByPort returning: curl
INFO[2021-08-19T07:26:22Z]externalhandler.go:162 APIV1RequestServicePost requester: curl
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:131 RequestService [RequestService] hello-world: [{container [docker run -v /var/run:/var/run:rw hello-world] map[]}]
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:157 RequestService [RequestService] getCandidate
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:159 RequestService [0] Id : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:160 RequestService [0] ExecType : container
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:161 RequestService [0] Endpoint : [192.168.0.37]
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:162 RequestService
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:340 func3 [orchestrationapi] deviceScore
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:341 func3 candidate Id : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:342 func3 candidate ExecType : container
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:343 func3 candidate Endpoint : 192.168.0.37
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:344 func3 candidate score : 15.49186213040619
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:247 RequestService [orchestrationapi] [{edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 192.168.0.37 15.49186213040619 map[] container}]
INFO[2021-08-19T07:26:22Z]route.go:131 func1 From [192.168.0.37:40014] POST /api/v1/orchestration/services APIV1RequestServicePost 155.2884ms
INFO[2021-08-19T07:26:22Z]containerexecutor.go:70 Execute [containerexecutor] hello-world [docker run -v /var/run:/var/run:rw hello-world]
INFO[2021-08-19T07:26:22Z]containerexecutor.go:71 Execute [containerexecutor] parameter length : 5
{"status":"Pulling from library/hello-world","id":"latest"}
{"status":"Digest: sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38"}
{"status":"Status: Image is up to date for hello-world:latest"}
INFO[2021-08-19T07:26:24Z]containerexecutor.go:91 Execute [containerexecutor] create container : f866490034
2021-08-19T07:26:26.040470056Z
2021-08-19T07:26:26.040965523Z Hello from Docker!
2021-08-19T07:26:26.041098075Z This message shows that your installation appears to be working correctly.
2021-08-19T07:26:26.041217554Z
2021-08-19T07:26:26.041400105Z To generate this message, Docker took the following steps:
2021-08-19T07:26:26.041519323Z 1. The Docker client contacted the Docker daemon.
2021-08-19T07:26:26.041677812Z 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
2021-08-19T07:26:26.041797135Z (arm32v7)
2021-08-19T07:26:26.041910520Z 3. The Docker daemon created a new container from that image which runs the
2021-08-19T07:26:26.042026561Z executable that produces the output you are currently reading.
2021-08-19T07:26:26.042141248Z 4. The Docker daemon streamed that output to the Docker client, which sent it
2021-08-19T07:26:26.042256664Z to your terminal.
2021-08-19T07:26:26.042407133Z
2021-08-19T07:26:26.042520778Z To try something more ambitious, you can run an Ubuntu container with:
2021-08-19T07:26:26.042667913Z $ docker run -it ubuntu bash
2021-08-19T07:26:26.042780308Z
2021-08-19T07:26:26.042888589Z Share images, automate workflows, and more with a free Docker ID:
2021-08-19T07:26:26.042999995Z https://hub.docker.com/
2021-08-19T07:26:26.043109891Z
2021-08-19T07:26:26.043216713Z For more examples and ideas, visit:
2021-08-19T07:26:26.043245984Z https://docs.docker.com/get-started/
2021-08-19T07:26:26.043275150Z
INFO[2021-08-19T07:26:26Z]containerexecutor.go:117 Execute [containerexecutor] container execution status : 0
INFO[2021-08-19T07:26:26Z]orchestrationapi.go:448 listenNotify [orchestrationapi] service status changed [appNames:hello-world][status:Finished]
INFO[2021-08-19T07:26:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-19T07:26:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:26:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:26:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:26:49Z]discovery.go:577 func1
INFO[2021-08-19T07:26:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:26:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:26:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:26:49Z]discovery.go:577 func1
INFO[2021-08-19T07:27:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-19T07:27:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:27:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:27:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:27:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:27:49Z]discovery.go:577 func1
INFO[2021-08-19T07:27:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:27:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:27:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:27:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:27:49Z]discovery.go:577 func1

私はまだどこが間違っているのか理解できません

よくできた。 できたね!

> > pi<strong i="8">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -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
> > 6c3d4582207dd40939c4932417eb4b4f8277a263d780a516fe713f9411da73ab
> > pi<strong i="9">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
> > tcp6       0      0 :::56001                :::*                    LISTEN      5830/edge-orchestra
> > pi<strong i="10">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ curl -X POST "127.0.0.1:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "[http://localhost:8888/api/v1/services/notification\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}
> > pi<strong i="11">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "[http://localhost:8888/api/v1/services/notification\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}

> > INFO[2021-08-19T07:24:41Z]externalhandler.go:93 APIV1RequestServicePost [RestExternalInterface] APIV1RequestServicePost
> > INFO[2021-08-19T07:24:41Z]externalhandler.go:157 APIV1RequestServicePost port:  33118
> > INFO[2021-08-19T07:24:42Z]senderresolver.go:75 GetNameByPort returning:  curl
> > INFO[2021-08-19T07:24:42Z]externalhandler.go:162 APIV1RequestServicePost requester:  curl
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:131 RequestService [RequestService] hello-world: [{container [docker run -v /var/run:/var/run:rw hello-world] map[]}]
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:157 RequestService [RequestService] getCandidate
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:159 RequestService [0] Id       : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:160 RequestService [0] ExecType : container
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:161 RequestService [0] Endpoint : [192.168.0.37]
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:162 RequestService
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:340 func3 [orchestrationapi] deviceScore
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:341 func3 candidate Id       : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:342 func3 candidate ExecType : container
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:343 func3 candidate Endpoint : 192.168.0.37
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:344 func3 candidate score    : 14.846495859252466
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:247 RequestService [orchestrationapi]  [{edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 192.168.0.37 14.846495859252466 map[] container}]
> > INFO[2021-08-19T07:24:42Z]containerexecutor.go:70 Execute [containerexecutor] hello-world [docker run -v /var/run:/var/run:rw hello-world]
> > INFO[2021-08-19T07:24:42Z]containerexecutor.go:71 Execute [containerexecutor] parameter length : 5
> > INFO[2021-08-19T07:24:42Z]route.go:131 func1 From [127.0.0.1:33118] POST /api/v1/orchestration/services APIV1RequestServicePost 146.304475ms
> > {"status":"Pulling from library/hello-world","id":"latest"}
> > {"status":"Digest: sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38"}
> > {"status":"Status: Image is up to date for hello-world:latest"}
> > INFO[2021-08-19T07:24:44Z]containerexecutor.go:91 Execute [containerexecutor] create container : 20d38d8de7
> > 2021-08-19T07:24:45.974837713Z
> > 2021-08-19T07:24:45.975191565Z Hello from Docker!
> > 2021-08-19T07:24:45.975228075Z This message shows that your installation appears to be working correctly.
> > 2021-08-19T07:24:45.975258648Z
> > 2021-08-19T07:24:45.975288336Z To generate this message, Docker took the following steps:
> > 2021-08-19T07:24:45.975318752Z  1. The Docker client contacted the Docker daemon.
> > 2021-08-19T07:24:45.975349169Z  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
> > 2021-08-19T07:24:45.975380470Z     (arm32v7)
> > 2021-08-19T07:24:45.975410054Z  3. The Docker daemon created a new container from that image which runs the
> > 2021-08-19T07:24:45.975440418Z     executable that produces the output you are currently reading.
> > 2021-08-19T07:24:45.975470835Z  4. The Docker daemon streamed that output to the Docker client, which sent it
> > 2021-08-19T07:24:45.975515991Z     to your terminal.
> > 2021-08-19T07:24:45.975546147Z
> > 2021-08-19T07:24:45.975575626Z To try something more ambitious, you can run an Ubuntu container with:
> > 2021-08-19T07:24:45.975605990Z  $ docker run -it ubuntu bash
> > 2021-08-19T07:24:45.975637500Z
> > 2021-08-19T07:24:45.975669115Z Share images, automate workflows, and more with a free Docker ID:
> > 2021-08-19T07:24:45.975699583Z  https://hub.docker.com/
> > 2021-08-19T07:24:45.975728802Z
> > 2021-08-19T07:24:45.975758229Z For more examples and ideas, visit:
> > 2021-08-19T07:24:45.975797916Z  https://docs.docker.com/get-started/
> > 2021-08-19T07:24:45.975828541Z
> > INFO[2021-08-19T07:24:46Z]containerexecutor.go:117 Execute [containerexecutor] container execution status : 0
> > INFO[2021-08-19T07:24:46Z]orchestrationapi.go:448 listenNotify [orchestrationapi] service status changed [appNames:hello-world][status:Finished]
> > INFO[2021-08-19T07:24:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
> > INFO[2021-08-19T07:24:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe

次に、ネットワークに接続されているさまざまなデバイスのスコアを取得するにはどうすればよいですか?

また、このプロジェクトでエッジコンピューティングとクラウドコンピューティングの比較分析ができるかどうか教えてください。

次に、ネットワークに接続されているさまざまなデバイスのスコアを取得するにはどうすればよいですか?

@mchittineni上記の質問については、別の銘柄ティッカーを開いてください。 直観的に効率的に取り組むことができるように、各問題には単一の独立した問題を含める必要があるというスレッドポリシーを維持しています。 前もって感謝します。 🙏

また、このプロジェクトでエッジコンピューティングとクラウドコンピューティングの比較分析ができるかどうか教えてください。

@mchittineni上記の質問については、別の銘柄ティッカーを開いてください。 直観的に効率的に取り組むことができるように、各問題には単一の独立した問題を含める必要があるというスレッドポリシーを維持しています。 前もって感謝します。 🙏

このページは役に立ちましたか?
0 / 5 - 0 評価