Files
awesome-kubernetes/docs/docker.md
Inaki Fernandez 3fc33dea06 Jan 18th
2022-02-18 16:53:24 +01:00

36 KiB
Raw Blame History

Docker

Introduction and Tutorials

Docker CLI

Docker Swarm

Awesome Lists

Docker VS Kubernetes

Docker Patterns and Antipatterns

Security

How To Build a Smaller Docker Image

Reducing Build Time

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.
  • cloudsavvyit.com: 10 Tools That Complement Docker

  • ==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!

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

Click to expand!

Tweets

Click to expand!

Environment variables in Docker:

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

— Francesco Ciulla (@FrancescoCiull4) May 15, 2021
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

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.

Thread 🧵👇

— Gabriel Tanner (@GabrielTanner14) December 13, 2021
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

How to grasp Containers and Docker (Mega Thread)

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...

— Ivan Velichko (@iximiuz) August 7, 2021
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>