-
So I've set up my agent running on a remote host with custom certifiacates. The agent logs Then I tried to connect to the agent from my main instance, but no matter how I tried I'm still getting this error:
Here are the compose for my agent: services:
dozzle:
container_name: dozzle
image: amir20/dozzle:latest
restart: unless-stopped
command: agent # Agent mode
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
secrets:
- target: /dozzle_cert.pem
source: cert
- target: /dozzle_key.pem
source: key
networks:
- network
ports:
- 7007:7007
environment:
DOZZLE_AGENT_ADDR: :7007
secrets:
cert:
file: ./dozzle.crt
key:
file: ./dozzle.key
networks:
dozzle:
driver: bridge And for my main instance, I tried "prividing the same certs" via (the domain name is just an example):
And:
Neither worked. Am I doing anything wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
That sounds wrong. You are not supposed to provide domain certs. You need to mount Share both compose files. |
Beta Was this translation helpful? Give feedback.
Hi @ihaettypo,
It worked for me.
and