Docker
- Introduction and Tutorials
- Docker Best Practices
- Docker Networking
- Docker Volumes
- Debugging
- Docker CLI
- Docker Extensions
- Docker Swarm
- Awesome Lists
- Docker VS Kubernetes
- Docker Patterns and Antipatterns
- Docker Security
- How To Build a Smaller Docker Image and write dockerfiles efficiently
- Reducing Build Time
- Modify containers without rebuilding
- Docker Tools
- Docker and WSL2
- Docker and Docker Swarm Cheat sheets
- Docker Compose
- Moving Linux Services Into Containers
- Windows Containers
- Portainer
- DockStation
- Linux Container Base Images
- Blogs
- Cloud Native Buildpacks
- Alternatives to Docker. Available alternatives to Docker for OCI compliant container image building
- Videos and Podcasts
- Tweets
Introduction and Tutorials
- Wikipedia.org: Docker
- Dzone refcard: Getting Started with Docker
- Dzone refcard: Java Containerization π
- americanexpress.io: Do Not Run Dockerized Applications as Root π
- medium.com: Removing Docker Images, Containers, and Volumes with Ease
- medium.freecodecamp.com: A Beginner-Friendly Introduction to Containers, VMs and Docker
- Google Play: Learning Solution - Learn Docker π
- Play with docker π A simple, interactive and fun playground to learn Docker
- medium: Strategies of docker images optimization
- Dzone: Docker explained, an introductory guide to docker
- Dzone: everything you need to know about docker
- Dzone: a start to finish guide to docker with java
- GitHub build-push-action Build+push official Docker GitHub action
- itnext.io: Getting Started with Docker: Facts You Should Know π
- jfrog.com: A Beginnerβs Guide to Understanding and Building Docker Images π
- Broken by default: why you should avoid most Dockerfile example π
- geekflare.com: docker tutorials
- medium: What is Docker, Why should you use it in simple words
- docker.com: Top Questions for Getting Started with Docker π
- medium: How to Start Working With Docker Containers
- dzone: Mitigating DevOps Repository Risks Docker is in the news for two reasons: Image retention limits and download throttling. Let’s discuss both and see the better alternatives.
- Top 18 Docker commands for Automation Tester/Devops/SDET/Test Lead? π
- A Gentle Introduction to Using a Docker Container as a Dev Environment π
- docs.docker.com: Deploying Docker containers on ECS
- A Gentle Introduction to Using a Docker Container as a Dev Environment
- martinheinz.dev: It’s Time to Forget About Docker π
- docker.com: Docker Hub Experimental CLI tool
- docker.com: Year in Review: The Most Viewed Docker Blog Posts of 2020 Part 1 π
- docker.com: Year in Review: The Most Viewed Docker Blog Posts of 2020 Part 2 π
- adictosaltrabajo.com: CΓ³mo crear y desplegar microservicios con Spring Boot, Spring Cloud Netflix y Docker
- cloudsavvyit.com: How to Use Cron With Your Docker Containers
- infoq.com: Docker Hub and JFrog Partnership Removes Image Pull Limits for Artifactory Users
- technology.doximity.com: Buildpacks vs Dockerfiles π Exploring the tradeoffs of building container images at scale
- docker.com: Containerized Python Development β Part 1
- pythonspeed.com: The worst so-called βbest practiceβ for Docker
- developers.redhat.com: Making environment variables accessible in front-end containers
- towardsdatascience.com: Have you heard about our lord and savior Docker? Introduction to working with Docker and creating your own development environment
- medium: Dockerizing a REST API in Python Less Than 9 MB and Based on scratch Image
- datamechanics.co: Optimized Apache Spark Docker Images
- theskillpedia.com: Managing docker images - openshift tutorial
- iximiuz.com: Container Networking Is Simple!
- r-bloggers.com: Dockerizing Shiny Applications
- pythonspeed.com: Docker can slow down your code and distort your benchmarks
- turbofuture.com: A Beginners Guide to Containers and Docker
- releasehub.com: Cutting Build Time In Half with Dockerβs Buildx Kubernetes Driver
- medium.com/nttlabs: Kubernetes driver for Docker BuildX In this article, you will learn how Docker BuildX supports building images using BuildKit pods on a Kubernetes cluster. Docker BuildX, the extended version of docker build CLI, now supports distributed image building using Kubernetes!
- linuxadictos.com: Docker presenta nuevas capacidades para desarrolladores
- grafana.com: Docker Integration for Grafana Cloud Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly.
- dev.to: Docker CMD vs ENTRYPOINT: explaining the difference
- blog.gougousis.net: File Permissions: the painful side of Docker π
- katacoda.com: Learn Docker & Containers using Interactive Browser-Based Scenarios π
- medium: Push Docker Image To Docker Hub Create Docker hub account and push Docker image.
- blog.thundra.io: Why Should You Run All Your Tests in Docker? π
- returngis.net: Crea hosts de Docker con Docker Machine en Microsoft Azure
- dev.to: Docker 101!
- pawelurbanek.com: asdf and Docker for Managing Local Development Dependencies
- tecmint.com: How to Install Docker on Rocky Linux and AlmaLinux
- blog.adoptium.net: Using Jlink in Dockerfiles instead of a JRE
- cloudsavvyit.com: How to SSH into a Docker container
- cloudsavvyit.com: How to use docker cp to copy files between host and containers
- baeldung.com: Deploying a Java War in a Docker Container
- returngis.net: Explorar grΓ‘ficamente el contenido de un volumen de Docker
- opensource.com: What is a container image? A container image contains a packaged application, along with its dependencies, and information on what processes it runs when launched.
- zdnet.com: Docker changes its subscription plans, usage rules, and product line
- servethehome.com: Docker Abruptly Starts Charging Many Users for Docker Desktop
- matt-rickard.com: An Overview of Docker Desktop Alternatives
- blog.aquasec.com: How Do Containers Contain? Container Isolation Techniques
- infoworld.com: How Docker broke in half The game changing container company is a shell of its former self. What happened to one of the hottest enterprise technology businesses of the cloud era?
- cloudsavvyit.com: How to Pass Environment Variables to Docker Containers
- dev.to: One does not “just containerize” an app
- The Docker ecosystem is filled with leaky abstractions. The utopian vision of Docker containers is a world where a developer can grab a base container for a language, copy in their code with a minimal Dockerfile, and be ready to develop and deploy instantly.
- Unfortunately, this landscape is filled with per-language gotchas that make this world a far cry from reality. Here are some of the wonky things I’ve run into when working with containers.
- cloudsavvyit.com: How To Clean Up and Delete Docker Images
- itnext.io: Software development in containers β a cookbook πππ A guide to developing containerized software
- dev.to: How to create a production Docker image
- dev.to: How to run docker on Windows without Docker Desktop
- dev.to: Beginner’s guide to Docker and Docker CLI commands
- freecodecamp.org: Learn How to Deploy 12 Apps to AWS, Azure, & Google Cloud
- cloudsavvyit.com: How to Assign a Static IP to a Docker Container
- cloudsavvyit.com: How to Inspect a Docker Imageβs Content Without Starting a Container
- freecodecamp.org: Why You Should Start Using Docker Right Now
- infoworld.com: Docker really did change the world Developers quickly understood the value of containers for building cloud-native applications, and that the Docker command-line tool was better than all of the bells and whistles they got with PaaS.
- cloudsavvyit.com: How (and Why) to Run Docker Inside Docker
- cloudsavvyit.com: Whatβs the Difference Between Exposing and Publishing a Docker Port?
- clavinjune.dev: Working With Remote Docker Using Docker Context This is a cheatsheet for working with docker context to connect remote docker locally. Might help you to work with remote docker without manually SSH to the remote server.
- cloudsavvyit.com: How to Add a Volume to an Existing Docker Container
- cloudsavvyit.com: How to Manage Docker Engine Plugins
- iximiuz.com: Learning Containers From The Bottom Up | Ivan Velichko πππ Efficient Learning Path to Grasp Containers Fundamentals
- thenewstack.io: The Time to Decide on Docker Desktop Has Arrived
- codeproject.com: How to Create an Image in Docker using Python
- thenewstack.io: How to Share Data Between Docker Containers
- iximiuz.com: Containers 101: attach vs. exec - what’s the difference?
- acloudguru.com: Docker COPY vs ADD: Whatβs the difference?
- thenewstack.io: How to Run Docker in Rootless Mode
- mjovanc.com: Get started with Docker and Docker Compose
- dev.to: Docker: Explained to a 5 year old. πΆπ»
- nishnit007.medium.com: A Journey from Dockerfile to Application Deployment on Kubernetes For Beginners
- freecodecamp.org: Docker Cache β How to Do a Clean Image Rebuild and Clear Docker’s Cache
- dev.to: Docker 101: Introduction to Docker
- blog.devgenius.io: K8s β Advanced Container Knowledge
- medium.com/@joelbelton: Optimising Docker Performance β The Key 4 Techniques You Need
- kubesimplify.com: The secret gems behind building container images, Enter: BuildKit & Docker Buildx
- medium.com/geekculture: Docker β Limit Container CPU Usage π
- devtron.ai: Understand CMD and ENTRYPOINT Differences in Docker
- fatehmuhammad.medium.com: Introduction to Docker | part 1
- cloudnativeislamabad.hashnode.dev: Introduction to Docker | part 1 π
- docker-curriculum.com: A Docker Tutorial for Beginners π
- hostinger.in: What Is Docker and How Does It Work? β Docker Explained
- blog.devgenius.io: Container β Namespace Introduction Introduction to common container namespaces
- viblo.asia: How to prevent out-of-disk space when using Docker?
- iximiuz.com: What Actually Happens When You Publish a Container Port π “Port publishing” seems to be a term coined by Docker. But “port forwarding” aka “port mapping - as a form of socket redirection - was a well-known trick well before the invention of containers. How are the two different?
- iximiuz.com: How To Publish a Port of a Running Container π
- medium.com/@BeNitinAgarwal: Lifecycle of Docker Container
- docker.com: Docker Compose: Whatβs New, Whatβs Changing, Whatβs Next
- medium.com/@i180826: Using Docker to build React App
- dev.to: Simplify Your Dockerfile wiyth Rust programming language| Kamesh Sampath
- itprotoday.com: Is Docker Still Worth Learning for IT Operations Teams? Probably Not While Docker isn’t dead, Docker tooling may be. Here’s why learning Docker tools isn’t as important as it once was, especially for ITOps teams.
- kennybrast.medium.com: How I Used Docker to Create a Python Dev Environment
- youtube: Docker 101 (Workshop) how an application can be run using Docker containers. First, you’ll learn how to take an application all the way from source code to a running container. Docker-compose, networking, multi-stage and more π
- codementor.io: Docker: What’s Under the Hood? How does Docker work? Get a better understanding of the skeleton of Docker, Virtualization, and future development
- dev.to/javinpaul: My Favorite Free Courses to Learn Docker and Containers in 2023
- tonylixu.medium.com: Docker RUN vs CMD vs ENTRYPOINT Differences between three Docker build instructions
- dev.to: Building a Robust CI/CD Pipeline with Docker: A Comprehensive Guide By adopting CI/CD, you can ensure your code is consistently tested & validated, reducing the likelihood of introducing errors and increasing overall software quality.
- dev.to: Docker : From Zero to Hero πΈ ( part 1) | Prasenjeet Kumar Docker is a tool that allows you to package, distribute and run apps as containers. It provides an efficient & consistent way to deploy apps across different environments, from dev to prod.
- dzone: Components of Container Management Strategizing beyond build and run: Explore the benefits of containers that are widely evident around the cloud-native world and its modernization journey.
- devopscube.com: How to Build Docker Image : Comprehensive Beginners Guide
- pointbase.hashnode.dev: Understand Docker layers by example : RUN instructions Impact
Docker Best Practices
- blog.docker.com: Intro Guide to Dockerfile Best Practices π
- docker.com: Intro Guide to Dockerfile Best Practices
- docker.com: Speed Up Your Development Flow With These Dockerfile Best Practices
- sysdig.com: Top 20 Dockerfile best practices π
- testdriven.io: Docker Best Practices for Python Developers
- dev.to: Top 8 Docker Best Practices for using Docker in Production π
- dev.to: Top 5 Docker Best Practices
- stevelasker.blog: Docker Tagging: Best practices for tagging and versioning docker images
- faun.pub: Dockerfile Best Practices for Developers | Pavan Belagatti
- azeynalli1990.medium.com: 15 Best Practices when working with Docker
Docker Networking
- hwchiu.medium.com: Docker Networking Model β Introduction This article provides an overview of several basic network models for Docker Containers:
- None
- Host
- Bridge
- Container:$ID
Docker Volumes
- medium: Understanding Docker Volumes, Mounts and Layers and How to Manage Data in Containers
- spacelift.io: Docker Volumes β Guide with Examples Volumes are a mechanism for storing data outside containers. All volumes are managed by Docker & stored in dedicated directory on your host, usually /var/lib/docker/volumes for Linux systems
- docs.netapp.com: Work with docker volumes - Astra Trident π
Debugging
- betterprogramming.pub: 5 Simple Tips For Debugging Docker Containers π Smoke out annoying container problems with minimal insanity
- iximiuz.com: Docker: How To Debug Distroless And Slim Containers π A handy way to troubleshoot containers lacking a shell and/or debugging tools (e.g, scratch, slim, or distroless)
Docker CLI
- docs.docker.com: docker buildx imagetools Commands to work on images in registry
-
Who is still copying images between registries with:
- docker cli:
- docker pull
- docker tag
- docker push
- docker pull
- Use:
- crane cp
- crane cp
-
Or even:
- cosign cp
- cosign cp
-
It’s faster, and supports multi-arch (and cosign copies signatures/sboms/attestations)
- docker cli:
Docker Extensions
- dev.to: 9 Docker Extensions Every Developer Must Try
- github.com/Saniewski/mongo-express-docker-extension Docker Extension for creating and running an embedded instance of Mongo Express connected to any accessible MongoDB server.
Docker Swarm
Awesome Lists
- Awesome Docker π
- Awesome Compose π
- github.com/pabpereza/curated-dockerfiles-examples: Curated Dockerfiles examples Public repository dedicated to guide the use of multi-stage and distroless dockerfile examples in docker, or other containers technologies, with the objetive to create secured templates for new developments
Docker VS Kubernetes
- blog.testproject.io: A Comparison of Kubernetes and Docker
- containerjournal.com: Whatβs the Difference Between Docker and Kubernetes?
- peoplactive.com: Kubernetes Vs Docker β Which to Adopt?
Docker Patterns and Antipatterns
- codefresh.io: Docker anti-patterns π
- medium: Docker anti-patterns | Codefresh
- Creating Docker files that are not transparent.
- Creating Dockerfiles that have side effects.
- Confusing images used for deployment with those used for development.
- Building different images per environment.
Docker Security
- thehackernews.com: Docker Images Containing Cryptojacking Malware Distributed via Docker Hub
- acloudguru.com: 10 Docker Security Best Practices to Cut Container Chaos
- brianchristner.io: How to use Docker Security Scan Locally Docker included a new command called
docker scan
that scans local images against the Snyk security engine, providing you with security visibility into your local Dockerfiles and images. - snyk.io: 10 Docker Security Best Practices π
- cheatsheetseries.owasp.org: Docker Security Cheat Sheet ππ
- augmentedmind.de: Docker optimization guide: the 12 best tips to optimize Docker image security
- infoq.com: Is Docker Secure Enough?
- clickittech.com: The Ultimate Docker Security Best Practices for Your Node.js Application Top 12 Docker Security Best Practices
- infosecwriteups.com: Attacking and securing Docker containers
- securitylabs.datadoghq.com: Container security fundamentals: Exploring containers as processes
How To Build a Smaller Docker Image and write dockerfiles efficiently
- developers.redhat.com: Keep it small: a closer look at Docker image sizing
- medium: How to build a smaller Docker image When youβre building a Docker image itβs important to keep the size under control. Having small images means ensuring faster deployment and transfers.
- itsopensource.com: How to Reduce Node Docker Image Size by 10X
- blog.bitsrc.io: Best Practices for Writing a Dockerfile Optimize your Docker Image by following these best practices from day one.
- sequoia.makes.software: Reducing Docker Image Size (Particularly for Kubernetes Environments) π
- itnext.io: Building Docker Images The Proper Way π Letβs optimize Docker builds to create much smaller and more secure Docker images in a fraction of the usual build timeβ¦
- returngis.net: Reduce el tamaΓ±o de tus imΓ‘genes con Dockerfiles multi-stage
- slim.ai Build secure containers, faster. Secure your software supply chain.
- learnk8s.io: 3 simple tricks for smaller Docker images π When it comes to building Docker containers, you should always strive for smaller images. Images that share layers and are smaller in size are quicker to transfer and deploy.
- contains.dev: Optimizing Docker image size and why it matters
- jpetazzo.github.io: Anti-Patterns When Building Container Images
- developers.redhat.com: Reduce the size of container images with DockerSlim
- docker.com: Reduce Your Image Size with the Dive-In Docker Extension
- medium.com/vantageai: How to make your Python Docker images secure, fast & small π Exploring Image Layers and Implementing Multistage Builds
- blog.devgenius.io: DevOps in K8s β Write Dockerfile Efficiently π
- piotrminkowski.com: Slim Docker Images for Java
- bhupesh.me: How I reduced the size of my very first published docker image by 40% - A lesson in dockerizing shell scripts π
- The author details their journey of reducing the size of their Docker image by 40%, from 31.4 MB to 17.6 MB
- They discuss optimization attempts, multi-stage builds, removing unnecessary binaries and dependencies, and using
scratch
as the base image
- medium.com/@RoussiAbel: Optimizing java base docker images size from 674Mb to 58Mb
Reducing Build Time
- nrmitchi.com: One Simple Trick for Building Images Faster π
BUILDKIT_INLINE_CACHE=1 build-arg
is a neat flag that you could add to your docker build to reduce the build time upto 89%
- pythonspeed.com: Docker BuildKit: faster builds, new features, and now itβs stable Building Docker images can be slow, and Dockerβs build system is also missing some critical security features, in particular the ability to use build secrets without leaking them. So over the past few years the Docker developers have been working on a new backend for building images, BuildKit.
- pauldally.medium.com: Structuring Dockerfiles For Productivity
Modify containers without rebuilding
Docker Tools
- Top 50 Docker Tools
- docker-ecs-plugin: Docker Releases Plugin for Simplified Deployments into AWS ECS and Fargate
- dive π A tool for exploring a docker image, layer contents, and discovering ways to shrink the size of your Docker/OCI image. Use the dive tool to analyze a Docker image of your application. What did I learn? While Jib creates 3 layers for Spring Boot app (dependencies, resources and classes), Paketo Buildpacks places resources and classes in the same layer.
- ctop π Top-like interface for container metrics
- phpdocker Production Grade, Rootless, Pre-configured, Extendable, and Multistage PHP Docker Image for Cloud Native Deployments (and Kubernetes)
- dev.to: Use Kool to Dockerize Your Local Development Environment the Right Way
- sematext: Monitor Docker Metrics & Logs π Full Docker observability: Docker metrics, logs, and events. Yes, Kubernetes & Swarm, too!
-
stepchowfun/docuum: Docuum: LRU eviction of Docker images π Docuum performs least recently used (LRU) eviction of Docker images.
- Docker’s built-in docker image prune –all –filter until=β¦ command serves a similar purpose. However, the built-in solution isn’t ideal since it uses the image creation time, rather than the last usage time, to determine which images to remove. That means it can delete frequently used images, which may be expensive to rebuild.
- Docuum is ideal for use cases such as continuous integration (CI) workers, developer workstations, or any other environment in which Docker images accumulate on disk over time. Docuum works well with tools like Toast and Docker Compose.
- Docuum is used by Airbnb on its fleet of 1.5k+ CI workers.
- cybersecsi/RAUDI A repo to automatically generate and keep updated a series of Docker images through GitHub Actions.
- grosser/preoomkiller Softly kills your process with SIGTERM before it runs out of memory. Made for processes that run inside docker.
- ory/dockertest Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. Use Docker to run your Golang integration tests against third party services on Microsoft Windows, Mac OSX and Linux!
- hadolint/hadolint: Haskell Dockerfile Linter Dockerfile linter, validate inline bash, written in Haskell
- ttl.sh: Anonymous & ephemeral Docker image registry π Free to use. No need to sign-up. Open source.
- buildg: Interactive debugger for Dockerfile π Interactive debugger for Dockerfile, with support for IDEs (VS Code, Emacs, Neovim, etc.)
- github.com/google/go-containerregistry π Go library and CLIs for working with container registries
- jesseduffield/lazydocker The lazier way to manage everything docker
- docker.com: Docker and Ambassador Labs Announce Telepresence for Docker, Improving the Kubernetes Development Experience π - telepresence for docker
- Telepresence for Docker simplifies how teams develop and test on Kubernetes. This Kubernetes development tool seamlessly creates a remote-to-local dev environment, so your teams can enjoy the ease and flexibility of local development with the collaboration and integration of a cloud development cluster.
- You donβt need to be a Kubernetes expert, deal with K8s configuration or maintenance, or turn to expensive cloud virtual machines for your developers to quickly and efficiently develop on K8s. Telepresence for Docker is Kubernetes development simplified.
- github.com/containrrr/watchtower A process for automating Docker container base image updates. With watchtower you can update the running version of your containerized app simply by pushing a new image to the Docker Hub or your image registry. Watchtower will pull down the new image, gracefully shut down the existing container and restart it.
Docker and WSL2
- Creating the best Linux Development experience on Windows & WSL 2
- andrewlock.net: Installing Docker Desktop for Windows and WSL 2
- medium.com/@adeelsubhan25: How to setup and build Docker Images on Windows
Docker and Docker Swarm Cheat sheets
Docker Compose
- freecodecamp.org: a beginners guide to docker - how to create a client server side with docker compose
- docker.com: Announcing the Compose Specification π
- infoworld.com: Docker’s Compose specification is now an open standard Dockerβs system for creating applications from multiple containers is now available on GitHub for all to contribute to.
- theregister.co.uk: Compose yourselves β Docker has published multi-container app spec, needs contributors to help maintain and develop it Now focused on developers, firm wants its tools to be more universally useful. Keep it light(weight), though.
- Awesome Compose
- Visual docker-compose.yml file generator π
- medium: How can we easily and visually explain the Docker Compose π
- docker.com: Docker Compose for Amazon ECS Now Available
- geshan.com.np: Postgres with Docker and Docker compose a step-by-step guide for beginners
- codesolid.com: How To Use Docker and Docker Compose With Python
- releasehub.com: 6 Docker Compose Best Practices for Dev and Prod
Moving Linux Services Into Containers
Windows Containers
- medium: Windows Containers (personal) cheat sheet
- techcommunity.microsoft.com: IIS Central Certificate Store and Windows containers
Portainer
- Portainer π Making Docker management easy
- Portainer Community Edition
- thenewstack.io: Deploy a Persistent Kubernetes Application with Portainer Here’s how to make sure all the contents of your container stay intact even after you delete the container itself.
DockStation
Linux Container Base Images
- crunchtools.com: A Comparison of Linux Container Images
- kubedex.com: Base images comparison
- developers.redhat.com: Red Hat Universal Base Images for Docker users
- dev.to: The best Docker base image for your Python application
- Red Hat Universal Base Images - hub.docker.com/u/redhat: UBI 8 standard, minimal, micro, and init from DockerHub π
- developers.redhat.com: Red Hat Universal Base Image and Docker Hub: Why should developers care?
- redhat.com: Red Hat Brings Red Hat Universal Base Image to Docker Hub Verified content from the worldβs leading enterprise Linux platform aimed at helping developers and operators build more secure and scalable containerized solutions from the industryβs leading container registry
Blogs
Cloud Native Buildpacks
- buildpacks.io: Cloud Native Buildpacks π transform your application source code into images that can run on any cloud.
- altoros.com: Streamlining the Creation of Docker Images with Cloud Native Buildpacks The new Cloud Native Buildpacks framework changes the obnoxious development chore of Dockerfile writing into a simple, automated operations pipeline. When deploying apps to Kubernetes or other container-as-a-service platforms, the proliferation of nonstandard, unauditable containers built manually via Dockerfiles is a real problem. A few products have emerged to solve this problem, among them Cloud Native Buildpacks (Π‘NB). In this blog post, we explore the capabilities of these buildpacks and explain how to use them in build pipelines to deliver standardized, auditable images as artifacts suitable for deployment.
- thenewstack.io: Container Images the Easy Way with Cloud Native Buildpacks
- dev.to/pmbanugo: Goodbye Dockerfiles: Build Secure & Optimised Node.js Container Images with Cloud Native Buildpacks
Alternatives to Docker. Available alternatives to Docker for OCI compliant container image building
- blog.alexellis.io: Building containers without Docker π
- medium: nerdctl: Docker-compatible CLI for contaiNERD
- jfrog.com: THE BASICS: 7 Alternatives to Docker: All-in-One Solutions and Standalone Container Tools π
- nerdctl π Docker-compatible CLI for containerd
- img
- jib
- kaniko
- buildah
- buildkit
- podman
- blog.logrocket.com: Top Docker alternatives for 2022
- itnext.io: Replace Docker Desktop with lima - lima-vm/lima
- dzone: Alternatives to Docker Desktop Have $5 to spend monthly? Do you want to avoid the fee? There are a couple of alternatives that can replace Docker Desktop with a free solution.
- dzone: Docker Alternatives: 10 Alternatives to Docker for Your SaaS Application
Videos and Podcasts
Click to expand!
Tweets
Click to expand!
Environment variables in Docker:
— Francesco Ciulla (@FrancescoCiull4) May 15, 2021
Environment variables are dynamic-named values that affect how our app will behave when running.
We can define them with Docker:
- at runtime
- in the Dockerfile
- in the Compose file (2 ways)
Let's see in detail in 1 minute:
1/5
Introduction to Dockerπ³@Docker is an open-source platform for deploying and managing containerized applications. It allows developers to easily package their applications into containers that can be deployed on every machine with a valid Docker installation.
— Gabriel Tanner (@GabrielTanner14) December 13, 2021
Thread π§΅π
How to grasp Containers and Docker (Mega Thread)
— Ivan Velichko (@iximiuz) August 7, 2021
When I started using containers back in 2015, I thought they were tiny virtual machines with a subsecond startup time.
It was easy to follow tutorials from the Internet on how to put your Python or Node.js app into a container...
Okay @awscloud Lambda folks: when should I use Docker containers as the packaging format for functions vs. using native runtimes? Looking for general guidance here.
— Corey Quinn (@QuinnyPig) March 28, 2022
Mostly bc of the package size limit.
— Maciej Radzikowski (@radzikowski_m) March 28, 2022
Standard code zip: max 250 MB
Docker image: max 10 GB
If you do anything in Python with ML libs, you will need Docker...
Why use native runtimes otherwise? Cold start.
Docker: 750-1000 ms
Node/Python: 250-300 ms
Docker Compose + DockerSlim = β€οΈ@DockerSlim can make your images much smaller (hence, faster and securer), but it requires launching containers for runtime analysis.
— Ivan Velichko (@iximiuz) July 13, 2022
Real apps, though, rarely run in isolation... Docker knew that and built Compose.
Now, behold the synergy! π½ pic.twitter.com/n6NlJokC95
Debunking Container Myths π§΅
— Ivan Velichko (@iximiuz) August 28, 2022
A (never-ending) series of articles that I started writing a couple of years ago to fix my own misconceptions about containers π½ pic.twitter.com/bD7Iw48ere
What Is a Distroless Container Image? π§΅
— Ivan Velichko (@iximiuz) September 5, 2022
Go (programming language) is famous for its statically linked binaries. You can take a Go executable, drop it into a "FROM scratch" container, and call it a day.
But there might be a problem (keep reading) π pic.twitter.com/kskCI3rqCC
Who is still copying images between registries with:
— Matt Moore βπ (@mattomata) October 13, 2022
docker pull <src>
docker tag <src> <dst>
docker push <dst>
Use:
crane cp <src> <dst>
Or even:
cosign cp <src> <dst>
It's faster, and supports multi-arch (and cosign copies signatures/sboms/attestations)
Want to master Docker and become a container expert
— Ivan Velichko (@iximiuz) December 9, 2022
...but don't know how to even start? π½
Here is the learning order that helped me:
1. Containers: how Linux does them
2. Images: why they are needed
3. Managers: many containers, one host
4. Orchestrators: many hosts, one app pic.twitter.com/HaXaGnSMkU