Skip to content

Conversation

volodimyr
Copy link

@volodimyr volodimyr commented May 31, 2025

#603

  1. Run docker and provide server certificates.
    sudo dockerd -H=0.0.0.0:2376 --tlsverify --tlscacert=ca.pem --tlscert=server-cert.pem --tlskey=server-key.pem

  2. Set DOCKER_HOST accordingly.

  3. Add config.yml new tls config such as client certificates and optionally host and verify:

tls:
  enable: true
  caCertPath: "ca.pem"
  certPath: "cert.pem"
  keyPath: "key.pem"
  host: "0.0.0.0"
  insecureSkipVerify: false
  1. go run main.go (with the provided config dir)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant