Best of ContainersJuly 2024

  1. 1
    Article
    Avatar of amigoscodeAmigoscode·2y

    DevOps Roadmap

    A comprehensive DevOps roadmap covering essential programming languages like Python, Golang, JavaScript, and Ruby. It includes server management with Linux, Unix, and Windows, and networking protocols such as TCP/IP and SSH. The roadmap also delves into key tools for source control (Git, GitHub), infrastructure as code (Terraform, Docker), and continuous integration/deployment (Jenkins, GitLab). Major cloud providers and monitoring tools like Prometheus and Grafana are also highlighted.

  2. 2
    Article
    Avatar of devtoDEV·2y

    Advanced Dockerfile Directives

    Advanced Dockerfile directives enable the creation of sophisticated Docker images. Key directives covered include ENV for setting environment variables, ARG for build-time variables, WORKDIR to set the working directory, COPY and ADD for file inclusion, USER for setting default user, VOLUME for persistent storage, EXPOSE for port declaration, HEALTHCHECK for container health monitoring, and ONBUILD for deferred instructions in parent images. Examples demonstrating each directive are provided to showcase their usage and benefits.

  3. 3
    Article
    Avatar of notedNoted·2y

    Dozzle - Self-Hosted Docker Container Log Monitoring

    Dozzle is a self-hosted tool for real-time monitoring and troubleshooting of Docker container logs. It allows you to view live log outputs, supports Docker Swarm for multiple node monitoring, and doesn't require a database or extra configuration. Features include fuzzy search, regex search, split-screen log viewing, memory and CPU usage stats, and multi-user authentication. It's lightweight, intuitive, and easily installed via Docker Compose.

  4. 4
    Article
    Avatar of itnextITNEXT·2y

    Kubernetes Configuration in 2024

    Helm and Kustomize remain the most popular Kubernetes configuration tools in 2024, integrated with various CI/CD tools and Infrastructure as Code (IaC) systems. Other notable tools include Kompose, cdk8s, Tanka, Kapitan, Ytt, and several others. The article reviews their popularity and integration within the Kubernetes ecosystem, addressing challenges such as complexity, YAML syntax issues, and the adoption of general-purpose programming languages for configuration generation. Innovations and maturity in tools like Helm and Kustomize, along with the rise of GitOps, have significantly influenced Kubernetes configuration management.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    New Dockerfile capabilities in v1.7.0

    The new Dockerfile v1.7.0 release introduces enhanced capabilities for BuildKit, Docker Buildx CLI, and Dockerfile frontend. New variable expansions allow for more flexible scripting, such as prefix and suffix removal. The `COPY --parents` flag replicates source directory structures, and `--exclude` filters provide finer control over copied files. These features aim to streamline multi-stage and multi-platform builds, making Dockerfile more powerful and versatile.

  6. 6
    Article
    Avatar of dockerDocker·2y

    Docker Best Practices: Choosing Between RUN, CMD, and ENTRYPOINT

    Docker offers multiple methods like RUN, CMD, and ENTRYPOINT to handle image building and container execution, each serving distinct purposes. RUN is utilized during the image build to execute commands, creating new layers. CMD sets default commands for container startup, while ENTRYPOINT specifies the default executable, making the container behave like an executable application. Understanding when and how to use these commands, along with the choice between shell and exec forms, is critical for optimizing Docker container behavior, signal handling, and overall efficiency.

  7. 7
    Article
    Avatar of itnextITNEXT·2y

    10 Essential Kubernetes Tools You Didn’t Know You Needed

    Kubernetes, celebrating its 10th anniversary, has become a cornerstone of the cloud-native ecosystem. The latest version, Kubernetes 1.30, brings new features and improvements. This post highlights ten lesser-known but essential tools that can improve your Kubernetes experience, including Popeye for configuration issues detection, KUTTL for testing, Kubescape for security screening, Mirrord for remote development, Kube-linter for linting, k3d for cluster provisioning, Kubeshark for network observability, kubectl-tree for visualizing resource hierarchies, Flux for GitOps, and Kubecost for cost management. These tools address specific challenges and help optimize and secure Kubernetes deployments.

  8. 8
    Article
    Avatar of dockerDocker·2y

    Introducing Docker Build Checks: Optimize Dockerfiles with Best Practices

    Docker has released Docker Build checks in Docker Desktop 4.33 to help developers follow best practices in creating container images. These checks provide warnings for any violations detected during a build, helping to improve Dockerfile quality and performance. The checks can be run in real-time during editing, and are integrated into local builds, CI workflows, and Docker Build Cloud. Additionally, rules can be customized, skipped, and configured via the CLI or Docker Desktop. Upcoming features include more checks and IDE integration.

  9. 9
    Article
    Avatar of communityCommunity Picks·2y

    Building Docker Images

    Learn how to build a Docker image from a Dockerfile, understand the difference between Dockerfile and Docker image, and the concept of image layers. The post also demonstrates the process of locally building and tagging Docker images using simple commands.

  10. 10
    Article
    Avatar of faunFaun·2y

    Top 10 Kubernetes Tools You Can Use In 2024

    Explore the top 10 Kubernetes tools to use in 2024, which enhance cluster management, monitoring, security, and deployment in the Kubernetes ecosystem. Tools include Kubectl, Helm, Kustomize, Rancher, Kubernetes Dashboard, Lens, Flux, Kubecost, Amazon EKS, and Google GKE. These tools bridge gaps in Kubernetes functionality, integrate smoothly with DevOps processes, and simplify activities like provisioning clusters, workload monitoring, and cost management.

  11. 11
    Article
    Avatar of habrhabr·2y

    How to set up Apache Airflow for 10 minutes via Docker

    Learn how to set up Apache Airflow using Docker in just 10 minutes. The guide includes installing necessary VSCode extensions, creating the required directory and files (`docker-compose.yml` and `dockerfile`), and building a custom Docker image. Detailed steps are provided to help you see the Airflow UI running on your localhost. Instructions also cover saving strategies and final steps to Compose Down after work.

  12. 12
    Article
    Avatar of communityCommunity Picks·2y

    How to deploy your React app using Container Registry

    Cloud-native computing has revolutionized software building and distribution using containers. This tutorial guides you through deploying a React app by creating a Docker image, pushing it to a Container Registry, and deploying it using a DigitalOcean Droplet. The process includes setting up Docker, building and running a React app, creating a Dockerfile, configuring Nginx for the app, pushing the Docker image to a Container Registry, and deploying it on a server.

  13. 13
    Article
    Avatar of dockerDocker·2y

    How to Run Hugging Face Models Programmatically Using Ollama and Testcontainers

    Ollama and Testcontainers make it easier for developers to deploy and manage AI/ML models from Hugging Face. By using Testcontainers' API, developers can programmatically manage container images and ensure reproducibility across environments. This approach simplifies AI model integration, automates setups, and leverages familiar container workflows for efficient development.

  14. 14
    Article
    Avatar of lobstersLobsters·2y

    Using S3 as a container registry

    Using S3 as a container registry is feasible by exposing an S3 bucket through HTTP and uploading image files to specific paths. This approach can yield substantial performance improvements, particularly in upload speed, compared to traditional container registries like ECR. While the method is experimental and lacks the advanced features of dedicated registries, it opens up new possibilities for optimizing container image hosting.

  15. 15
    Article
    Avatar of communityCommunity Picks·2y

    🐳 Docker Commands: From Beginner to Advanced for DevOps Engineers

    Docker is a platform for developing, shipping, and running applications in containers. This guide provides essential Docker commands ranging from beginner to advanced levels, helping DevOps engineers manage containerized applications. It covers Docker basics, commands for managing images, containers, networks, volumes, Docker Compose, Dockerfiles, Docker Swarm, secrets, and various advanced commands. Best practices include using version control, keeping images lightweight, securing images and containers, automating builds and deployments, and regular pruning of unused resources.

  16. 16
    Article
    Avatar of communityCommunity Picks·2y

    Kubernetes Requests and Limits: Learn How They Work

    Understanding how to set Kubernetes requests and limits is crucial for effective resource management. Requests ensure a minimum amount of resource availability for containers, while limits control the maximum. Proper configuration prevents resource hogging and underperformance, helping maintain cluster stability and performance. Strategies like monitoring actual resource usage, prioritizing workloads, and aligning settings with node capacity can optimize resource utilization. Both requests and limits are essential for preventing issues like CPU throttling and OOMKills.