Simply explained, containers operate like complete virtual machines, although quite a lot smaller and less complex. This allows you as a developer to write and test your code and put it into an environment, with e.g. it's OS, dependencies and environment variables, that you have complete control over - the container.
Containers have been popularized by Docker, Inc. and their tooling. The concepts are thus often refered to as docker things, e.g. docker files, docker images, docker containers. However, container technology is much more than just Docker.
This is a hands-on workshop where you will learn about container technology through actual use, along with some of the tooling that improves upon the experience of developing and working with containers. Any container technology tools may be used to build images and run containers, but Docker has been chosen in the examples as it likely the most accessible for the majority of people.
- Install a container image build tool and container runtime, the simplest
beeing the all-in-one solution Docker
Desktop. See Docker
FAQs
for any questions regarding Docker Desktop. If using any other container image
build tool or runtime, be sure to adapt the workshop's
docker
commands to fit your tools. - Git - as you probably want to
git clone https://github.com/tenstad/container-workshop.git
- Create a user on DockerHub or any other container image registry.