I have a question. Seems to be simple. I have created the local Docker private registry with LDAP reverse proxy authorization on RHEL7 from that example:
It is working well, but since I login in to docker registry, I’m logged there all the time. Seems that login credentials are stored in file:
/root/.docker/config.json
Is there a possibility to logout from docker registry after some timeout? Maybe there is a chance to configure docker to remove /root/.docker/config.json file after some time after login? The best way will be when Docker private registry will ask for password everytime when push or pull action needs to be performed.
I didn’t find any docs regarding that logout option… It will be good to add automatically logout option in Docker…