Token based authentication

I’ve setup docker distribution and Portus for authentication. It all working fine when I use username/password to login docker distribution.

But I’m struggling to setup token based authentication with docker cli client. In docker documentation no where I got any reference.

Can someone help me to get it working. I’m using the latest docker v1.11.1

TIA

1 Like

Did you get a resolution (one way or another)? I’m having the same issue. The Swarm API documents show how to add HttpHeaders into the config.json. It seems like this should work for Authentication, but I tried and it isn’t working.

I opened an issue on Github to see if I could figure out why my strategy wasn’t working. I got some feedback, but no resolution yet. If I manage to verify the strategy and address all outstanding issues, that’s where it will end up documented.