Docker installation need an intermediate certificate

For connecting to our Active Directory I need to install an intermediate certificate in the docker container. This can be done manually, but the I have to do that every time the container restarts.
How can I make this persistent?