# DOCKER REGISTRE AVEC UI Ce projet a pour but d'instancier un registre Docker sécurisé par mot de passe et accessible via une UI. Votre Docker Hub! ### CREATION D'UN PASSWORD: Ici, remplacer testuser et testpassword par le nom d'utilisateur et le mot de passe désiré. ```sh sudo apt-get install apache2-utils htpasswd -Bbn testuser testpassword > registry-config/htpasswd ``` ### LANCER LA STACK ```sh docker-compose up -d ``` ### SE CONNECTER A L'ADRESSE: http://locahost:8087 ### POUSSER UNE IMAGE: Login au docker registry (nécessaire une fois): ```sh docker login localhost:5000 ``` Entrer l'utilisateur et le mot de passe créés plus tôt, puis: ```sh docker tag localhost/mon_image:tag docker push localhost/mon_image:tag ```