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…
sample In : import math import numpy as np import matplotlib.pyplot as plt %matplotlib inline import os os.environ += os.pathsep + '/usr/lib/python3.9/site-packages/graphviz/' In : def f(x): return 3*x**2 - 4*x…
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:…
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 }…