Managing multiple docker hub accounts using docker-use
Chirag Aggarwal introduces a tool called docker-use for managing multiple Docker Hub accounts. The tool allows users to switch between different Docker configurations easily without needing to log out and log back in. It simplifies the process by using a shell function to change the DOCKER_CONFIG environment variable, making account management more efficient.
- ▪Docker-use allows users to manage multiple Docker Hub accounts by switching configurations easily.
- ▪Each account is stored in its own config directory, and users can switch between them using a shell function.
- ▪The tool preserves Docker's credential helper settings to ensure seamless integration with existing workflows.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 963052) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Chirag Aggarwal Posted on May 25 Managing multiple docker hub accounts using docker-use #docker #webdev #programming #productivity Most of the time I'm signed into my work Docker Hub account, and that's fine. Almost everything I build ends up there. Then one weekend I was playing around with openruntimes/orchestrator, an orchestration service for running containerized workloads with callbacks.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).