edgexfoundry / device-coap-c

EdgeX device service for CoAP-based REST protocol
Apache License 2.0
3 stars 18 forks source link

[Device Coap] Fails to run in Docker due to incorrect option #20

Closed lenny-goodell closed 2 years ago

lenny-goodell commented 3 years ago

Running Device Coap with Ireland or WIP composes files results in service failing to start with the following error:

/device-coap: Unrecognized option --cp=consul://edgex-core-consul:8500

This has been worked around for the Ireland compose files by adding the following:

    command: -cp=consul.http://edgex-core-consul:8500 --registry --confdir=/res

The Dockerfile needs to be updated to correct this so the -cp option is specified correctly as:

-cp=consul.http://edgex-core-consul:8500 
iain-anderson commented 2 years ago

closed #26