This topic explains how to configure a connection between LabKey Server and a Docker container. You can use this connection to:
  • Go to (Admin) > Site > Admin Console.
  • Click Settings.
  • Under Premium Features click Docker Host Settings.
    • Enable Docker Settings: select On.
    • Docker Host: Enter the URI for your docker host.
    • Docker Certification Path: Enter a valid file system path to the Docker certificates. Required for TCP in production mode. Note that LabKey expects certificates with specific names to reside in this directory. The certificate file names should be:
      • ca.pem
      • key.pem
      • cert.pem
    • Container Port Range: In most cases, leave these values blank.
    • User File Management: Select Docker Volume for a server running in production mode.
  • Click Save and then Test Saved Host to check your connectivity.

Troubleshooting

Error Message

http: TLS handshake error from <host-machine>: tls: first record does not look like a TLS handshake

Resolution

Ensure that the certificate file names in Docker Certification Path match exactly those listed above.

Was this content helpful?

Log in or register an account to provide feedback


previousnext
 
expand allcollapse all