Skip to content

A Docker container development workshop in several chapters, originally held by the Developer Experience team at Sveriges Television AB, the Swedish national public television broadcaster.

License

Notifications You must be signed in to change notification settings

svt/docker-workshop

Docker für alle

A workshop in several chapters, originally held by the Developer Experience team at SVT.

This workshop is for anyone who wishes to learn about docker and container management beyond copying and pasting from a guide somewhere on the internet. It is divided into multiple parts, but feel free to start at any point you feel is right for you. Some of the practical examples may depend on information presented earlier, in these cases we have tried to link back to the relevant information.

Prerequisites

You need a personal computer and a working Docker installation, as outlined in the prerequisites chapter. This workshop is written primarily with Mac and Linux users in mind and tested on those systems, but most things should work the same on Windows.

Where to start

If you are unsure about your skill level, start from the very beginning. It will not take you long to work through Chapter 1 if you have some previous experience, and you may still learn something new if you're lucky! We hope you enjoy your new docker skills.

Otherwise, if you feel very comfortable with the basics already, just dive in at any point that looks interesting in the overview.

Chapter overview

  • Prerequisites - contains information and links that should get you a working docker installation.
  1. Basics - this chapter provides an overview of the basics of getting hold of docker images and running them locally. Start here if you have no previous experience at all.
  2. Dockerfiles - this chapter takes you through the process of writing Dockerfiles and building custom container images. Start here if you are already familiar with images and running containers but wish to understand more about how they are built and customized.
  3. Dynamic building - an introduction to dynamically building and running images
  4. Multi-stage builds - an overview of how to use multiple stages in your Dockerfile. Wow, you can build miniature pipelines now!
  5. Security - a guide to some common security risks inherent in using Docker, and how to mitigate them.

Getting involved

We welcome contributions as well as questions, suggestions, reports of non-working examples, other feedback and success stories. Please feel free to open an issue in the main repo at https://github.com/SVT/docker-workshop to start the conversation. Please try to keep contributions:

  • Accessible at the level specified
  • Free from secondary requirements (more than basic knowledge of any particular programming language, for example)
  • Tested on at least two platforms

Open source licensing info

Creative Commons License
Workshop assets released under the Creative Commons Attribution-ShareAlike 4.0 International License: CC-BY-SA 4.0


Maintainers

Credits and references

The DX:ers want to thank:

  • Everyone who participated in the original workshop
  • Martin Flodin for suggesting an open source release of the material.

About

A Docker container development workshop in several chapters, originally held by the Developer Experience team at Sveriges Television AB, the Swedish national public television broadcaster.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published