Reset Docker Swarm
docker-compose down -v -v will remove all volumnes thus deleting everything use docker-compose up to rebuild
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:…
rs01 [direct: primary] admin> show users MongoServerError: command usersInfo requires authentication rs01 [direct: primary] admin> rs.printReplicationInfo() MongoServerError: command listCollections requires authentication rs01 [direct: primary] admin> db.auth("rocketchat","****"); { ok: 1 }…
Woke up this morning (2023/01/27) to this mess: mongosh