francescou / docker-compose-ui

web interface for Docker Compose
http://francescou.github.io/docker-compose-ui
MIT License
1.54k stars 228 forks source link

Docker Login #95

Closed sylvainar closed 7 years ago

sylvainar commented 7 years ago

Hey!

I'm using this project for a while now and I have to say it's pretty awesome!

One answer thought, is it possible to login on private repo (something I would do with docker login) ? I don't see the option anywhere and I'm experiencing troubles when I try to pull images from private repositories.

Thanks !

sylvainar commented 7 years ago

This is the error I have :

docker exception: 500 Server Error: Internal Server Error ("Get https://registry.gitlab.com/v2/sylvainar/myrepo/symfony/manifests/dev: denied: access forbidden")

francescou commented 7 years ago

hello @sylvainar I think you could login from your docker host, than you can mount the ~/.docker volume (e.g. docker run -v ~/.docker/:/root/.docker/:ro ... francescou/docker-compose-ui:1.8.0)

sylvainar commented 7 years ago

Yeay, it works, thanks !

Note: I was about to make a PR to mention this trick in the README and it was already there… Sorry…