Azure ACI docker 101

repos learning-docker/2-azure-container-instance at main · spawnmarvel/learning-docker · GitHub Exercise – Control restart behavior use gitbash with az cli or login to a linux vm and install az cli, the run az login –tenant TENANT-ID Or use putty or cloud shell Azure Use cli or portal to check status, runs, logs and more. logs Exercise – […]

Containerize a Python application docker pri

Containerize a Python application | Docker Docs repos learning-docker/1.3-containerize-python-application at main · spawnmarvel/learning-docker · GitHub We have our code and we are ready to test it All it does it log and gracefully stop Build the app The docker build command builds Docker images from a Dockerfile and a “context”. A build’s context is the […]

Docker rabbitmq x2 ssl Certificate Authority PKI

repos learning-docker/prod-ish/rmq/rmq-x2-ssl at main · spawnmarvel/learning-docker (github.com) Generate CA Server’s (client) certificate and files Let’s test the compose before we make the next certificate and use it. Client is 15672, view logs to see if it loaded all yes, good. Server is 15673,view logs to see if it loaded all and also the rabbitmq_auth_mechanism_ssl was […]

Docker: be efficient

– 0 one Vm, and a data disk from 4 gb to 8 gb. learning-docker/README-0-mount.md at main · spawnmarvel/learning-docker (github.com) 0 Getting started learning-docker/1-getting-started-guide/README.md at main · spawnmarvel/learning-docker · GitHub End notes part 10 Container orchestration “Running containers in production is tough. You don’t want to log into a machine and simply run a docker […]

Docker rabbitmq x2

repos learning-docker/prod-ish/rmq/rmq-x2/README.md at main · spawnmarvel/learning-docker (github.com) docker compose up -d http://ip:9443 client with static shovel server

Docker rabbitmq

repos learning-docker/prod-ish/rmq/rmq-ssl/README.md at main · spawnmarvel/learning-docker (github.com) Copy all the files to a VM running docker Run the generate.certificate.sh cd rmq-app bash generate.certificate_keyusage.sh docker compose up -d rmq portainer CPU and Memory is also limited

Docker compose ssl

Inspiration dockerfile – generate a self signed certificate in docker – Stack Overflow Repos learning-docker/1-getting-started-guide/rmq5-portainer-ssl at main · spawnmarvel/learning-docker · GitHub Lets test the ssl script first, since we know that rmq and portainer works. All files are moved Files How about that?! Now we need to copy the cert and edit the Dockerfile and […]

Docker compose

Use Docker Compose | Docker Docs github learning-docker/1-getting-started-guide/README-4-docker-compose.md at main · spawnmarvel/learning-docker · GitHub changed this cd getting-started-app touch compose.yml docker compose up -d docker compose logs -f docker ps docker compose down Rabbitmq learning-docker/1-getting-started-guide/README-4-docker-compose.md at main · spawnmarvel/learning-docker · GitHub First run visit http://public-ip:15672 success with preconfigured user. but the shovel plugin was not […]

Docker bind mounts

In part 5, you used a volume mount to persist the data in your database. A volume mount is a great choice when you need somewhere persistent to store your application data. A bind mount is another type of mount, which lets you share a directory from the host’s filesystem into the container. When working […]

Docker volume data move

The standard data location used for docker is /var/lib/docker. Because this directory contains all containers/images/volumes, it can be large. (How to move docker data to another location (mrkandreev.name)) Github learning-docker/1-getting-started-guide/README-2-docker-volume.md at main · spawnmarvel/learning-docker · GitHub stop docker, add this file, copy files, remove old, start docker run hello-docker re create the rabbitmq