09/22/2022, 9:31 PM
Hi, I am running rancher-desktop (mobyd) on mac m1. I have the 1.5.1 version. My app is using mvn docker plugin, so I had to set docker_host env variable to switch the docker context from default to rancher specific. I can see
mvn docker:run
is successful and see an entry when I do `docker ps`but still getting a cannot connect exception.
Copy code
ChastClientException: (-1, null, false) Processing exception while communicating to: <http://localhost:32124>
This is the output from docker ps.
Copy code
CONTAINER ID   IMAGE                                         COMMAND                  CREATED          STATUS          PORTS                                           NAMES
8548d5ea9f22   paasdevsss/sss/wfaas-in-memory:1.0-SNAPSHOT   "/sbin/"   19 minutes ago   Up 19 minutes>32124/tcp, :::32124->32124/tcp   xenodochial_khayyam


09/23/2022, 12:07 PM
did you try
docker context use rancher-desktop
instead of the env var?