I felt inspired by watching a YouTube talk about Docker recently - I liked hearing the origins of Docker, seeing a couple ways to spin up containers and also the humor of the speaker. I highly recommend it.
In fact I decided to take my learnings from that video and build a new Github repo around it, to practice the commands and build up a reference for when I get stuck.
This assumes some knowledge of Docker and so focuses on providing commands to manage containers either built just from remote images (no
Dockerfile needed) or from a local
Dockerfile supplied in the project.
docker pull centos docker run -d -t --name my-container centos
From Basic guide.
FROM ubuntu RUN apt update && \ apt install -q -y git CMD echo "This is a test." | wc -
docker build .
From Generic example.
If you need more links on Docker then check out this list of resources.
I've also been working on a cheatsheet recently for running
kubectl (Kubernetes control).
I came across this post on on dev.to which I'd like to pass on.