install docker-compose
sudo curl -L “https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose –version
sudo curl -L “https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose –version
> python3 dedockify.py 179da7ea6c0c FROM earnhardt/vir_report:version1.0 ADD file:40290d9a94ae76c35ab1f57178130ce1c5b976e34a91e77472ecf7e945ab64f9 in / CMD ["bash"] LABEL maintainer=Frank Earnhardt <frank.earnhardt@outlook.com> RUN /bin/sh -c apt-get update \ && apt-get upgrade -y perl curl WORKDIR /opt…
Install docker python module: pip3 install docker python3 dockerDive.py', 'Id': 'sha256:179da7ea6c0c4771c9b0ebb60d15a8e82172a7b44bce66b082d7e3d54a2f4e12', 'Size': 0, 'Tags': }, {'Comment': '', 'Created': 1654890249, 'CreatedBy': '/bin/sh -c #(nop) COPY file:a3a0e3eee12601499dd7d3fd25284f9f8a6798e72efb2edd826131acca0bdd34 in /opt/src_code/prepareVIRs.pl ', 'Id': '',…
See: https://github.com/wagoodman/dive and download windows: https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_windows_amd64.zip C:\Users\win10\Downloads\dockerdesktop\dive_0.9.2_windows_amd64>dive --help This tool provides a way to discover and explore the contents of a docker image. Additionally the tool estimates the amount of…
> 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