docker system
> docker system Usage: docker system COMMAND Manage Docker Commands: df Show docker disk usage events Get real time events from the server info Display system-wide information prune Remove unused…
> docker system Usage: docker system COMMAND Manage Docker Commands: df Show docker disk usage events Get real time events from the server info Display system-wide information prune Remove unused…
Test the use of your private registry *** GOTCHA ***
openssl req \ -newkey rsa:4096 -nodes -sha256 -keyout certs/earnhardt-docker.duckdns.org.key \ -addext "subjectAltName = DNS:earnhardt-docker.duckdns.org" \ -x509 -days 365 -out certs/earnhardt-docker.duckdns.org.crt docker run --entrypoint htpasswd httpd:2 -Bbn docker ****** > auth/htpasswd…
docker-compose down -v -v will remove all volumnes thus deleting everything use docker-compose up to rebuild
https://www.docker.com/blog/how-to-use-the-apache-httpd-docker-official-image/ https://httpd.apache.org/docs/current/misc/password_encryptions.html https://httpd.apache.org/docs/current/programs/htpasswd.html https://en.wikipedia.org/wiki/Hash_function
using docker exec
Pulling Image from Public ‘docker.io’ Works After pulling image using WSL2 ubuntu, see how windows is sharing the same local docker image repo: Pulling from Private Registry
FIRST START mongodb --bind_ip_add open console: mongosh use admin admin> db.createUser({user: "admin",pwd: "newPassword", roles: }) admin> db.changeUserPassword("admin","******") admin> db.updateUser("admin", { roles: }); admin> db.updateUser("admin", { roles: }); admin> show users[{_id:…
Woke up this morning (2023/01/27) to this mess: mongosh