Docker Certified Associate Exam Course

Docker Engine Enterprise

UCP Setting for LDAP integration

Docker Universal Control Plane (UCP) offers native authentication and authorization while integrating seamlessly with existing LDAP directory services. By configuring LDAP in UCP, you can manage users and groups through your enterprise directory.

Prerequisites

  • A running Docker UCP cluster (v3.2+ recommended)
  • Administrator credentials for UCP
  • LDAP/AD server details (URL, Bind DN, Base DN, certificates)

1. Log In to the UCP Console

  1. Open your browser and go to your UCP console URL (e.g., https://ucp.example.com).
  2. Enter your administrator Username and Password, then click Login.

Note

Make sure your browser can resolve the UCP hostname and that port 443 is accessible.

2. Navigate to Authentication Settings

  1. From the top-right menu, click Admin Settings.
  2. Select Authentication & Authorization to reveal UCP’s identity management options.

3. Enable LDAP Integration

  1. Scroll to the LDAP section.
  2. Toggle LDAP Enabled to Yes.

Warning

If your LDAP server requires encryption, ensure you use an ldaps:// URL or provide a CA certificate for TLS.

4. Configure LDAP Directory Details

Once you enable LDAP, the configuration form expands. Complete these fields as provided by your LDAP administrator:

FieldDescription
LDAP Server URLURL of your LDAP service (e.g., ldap://ad.example.com or ldaps://ad.example.com).
Bind DNDistinguished Name for the LDAP reader account (e.g., cn=read-back,ou=ServiceAccounts,dc=corp).
Bind PasswordPassword for the Bind DN account.
Base DNRoot of your directory tree (e.g., dc=corp,dc=example,dc=com).
User Search FilterLDAP filter to locate users (e.g., (objectClass=person)).
Group Search Filter (optional)Filter to discover groups (e.g., (objectClass=group)).
Additional Domains (optional)Comma-separated Base DNs if you have multiple OUs.

Note: Consult your LDAP/AD administrators for the exact values and any custom search scopes.

5. Test Connection and Synchronize Accounts

  1. Under Test Login, enter a sample LDAP username and password, then click Test to verify connectivity.
  2. Once the test succeeds, click Manual Synchronization to import users and groups into UCP.
  3. Review the synchronization results to confirm that expected accounts appear.

The image shows the "Admin Settings" page of Docker Enterprise, specifically focusing on "Authentication & Authorization" settings, including options for LDAP configuration and test login.

Finally, click Save at the bottom of the page to apply your LDAP settings.

Watch Video

Watch video content

Previous
Demo RBAC in Docker EE