Can I use clara cli in docker container

Cannot connect to remote clara deploy from inside docker container because the flag --host from clara CLI doesn’t change the target .

Hi chananvich,

There could be a couple issues here. First, how are you running the docker container? You will need to expose the correct ports to the host, or just run with --net=host.

You will also need to specify the correct nodeport for the clara api server. You can find the exposed nodeport on the machine running clara platform by running:
kubectl describe service clara
On my machine, it looks like this defaults to port 30031. So you would specify
--host <IP of platform machine>:30031