Hi everyone,
I’m currently setting up a local development environment using Frappe Press and ran into an issue when trying to add a user to the proxy server. The Press agent attempted to run the following command:
docker exec ssh useradd -m -p ‘*’ bench-0001-000015-f1
However, it failed with the following error:
Error response from daemon: No such container: ssh
Other Case:
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.49/containers/ssh/json": dial unix /var/run/docker.sock: connect: permission denied
Traceback:
Traceback (most recent call last):\n File \"/home/frappe/agent/repo/agent/base.py\", line 59, in execute\n output, returncode = self.run_subprocess(\n File \"/home/frappe/agent/repo/agent/base.py\", line 110, in run_subprocess\n raise subprocess.CalledProcessError(returncode, command, output=output)\nsubprocess.CalledProcessError: Command 'docker exec ssh useradd -m -p '*' bench-0001-000015-f1' returned non-zero exit status 1.\n
From the error, it seems like the container named ssh does not exist. I’m not sure if this is a misconfiguration or if I missed a step during the server provisioning or Press setup.
Has anyone experienced this issue or know what might be causing Add user to proxy error?
Thanks in advance for any help or direction