I am trying to understand options for passing AD connection information via environment variables to a RHEL container.
Part of the requirements I have is a MSSQL database needs to use AD authentication and the tutorials I have found suggest exporting a keytab file to the container’s file system. That is not viable in my scenario. When trying to add domain users via MSSQL Manager domain users are searchable but an error occurs when trying to add their login. My interpretation is the containers RHEL OS has to join the existing domain to properly pass credentials to MSSQL.
Following these instructions, I have to open to the OS’s root cli and edit the iifcfg-eth0 file to identify the domain controller RHEL to use.
I would like use docker-compose environment variable for this instead. Is that possible?