Created: 11/1/2022
Here is a collection of resources that are useful for learning about docker, from the ground up.
Quick demos that show what you can do with the docker CLI alone
Startup a new mysql server locally; see "How to use this image" section.
Run a redis server locally & attach to it with just one line:
docker run -it --rm redis redis-cli -h some-redis
Print out the resolv.conf
for Ubuntu:latest
docker run ubuntu:latest cat /etc/resolv.conf
Run a local python script inside an Alpine container. This works even if python is not installed on your machine!
echo "print('hello, world!')" > main.py
docker run -v $(pwd)/main.py:/main.py python:3-alpine python3 main.py