Best of DockerOctober 2024

  1. 1
    Article
    Avatar of devtoDEV·2y

    Dockerfile Best Practices: How to Create Efficient Containers

    In the era of microservices and cloud computing, optimizing Dockerfiles is essential for building lightweight, fast, and secure containers. Key practices include using minimal base images like Alpine or Scratch, reducing layers by combining commands, optimizing layer caching, installing dependencies wisely, managing secrets carefully, using a '.dockerignore' file, employing multi-stage builds, avoiding running containers as the root user, scanning for vulnerabilities, and directing logs to standard output. Regular updates and using specific version pins also enhance security and reproducibility.

  2. 2
    Video
    Avatar of youtubeYouTube·2y

    Next.js Full-Stack School Management App Full Tutorial | Role Based School Dashboard Project

    This guide walks through creating a full-stack school management application using Next.js, implementing role-based dashboards for different users (admin, teacher, student, parent) with specific functionalities such as protected routes, pagination, and search functionalities. The backend is built using PostgreSQL and Prisma ORM, and deployed with Docker and Hostinger. The guide covers setting up the database schema, handling various user roles, and deploying the application efficiently.

  3. 3
    Video
    Avatar of mreflowMatt Wolfe·2y

    How To Create An AI Agent To Do Your Job For you

    Anthropic has launched low-level AI agents capable of executing multi-step tasks autonomously. By giving commands, these agents can perform actions such as scraping data from websites, filling spreadsheets, and more. The setup involves installing Docker, obtaining an API key from Anthropic, and configuring the environment. Despite impressive capabilities, the tool has limitations, such as rate limits and occasional execution errors. This evolving technology shows potential for future improvements in automation and productivity.

  4. 4
    Video
    Avatar of communityCommunity Picks·2y

    Self-Hosting Next.js

    Learn how to self-host a Next.js app on a $4 Linux VPS with a PostgreSQL database, Nginx reverse proxy, and Docker. The guide covers the detailed steps for setting up the server, creating a deploy script, managing Docker containers, and addressing key configurations for self-hosting. It contrasts VPS versus dedicated server options and explores trade-offs such as scalability, performance, and cost. It also delves into features like image optimization, streaming components, middleware, and environment variable handling in a self-hosted setup.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    5 obscure self-hosted services worth checking out

    Discover five obscure but valuable self-hosted services that can enhance your home lab. Tube Archivist lets you save YouTube videos, while Tandoor Recipes helps manage meal planning and recipes. Kiwix allows for offline access to extensive educational databases using minimal hardware. RomM organizes and runs your game ROMs, and Trilium Notes offers robust personal knowledge management. Each service provides unique functionalities and supports various server platforms.

  6. 6
    Article
    Avatar of hnHacker News·2y

    hcengineering/platform: Huly — All-in-One Project Management Platform (alternative to Linear, Jira, Slack, Notion, Motion)

    The Huly Platform is designed for building business applications like CRM systems and includes several integrated applications. It supports self-hosting via Docker, and setup instructions are provided along with prerequisites such as Node.js and Docker. The platform supports amd64 and arm64 containers and requires Microsoft's Rush for installation and development. Detailed command-line instructions are included for verifying installation, building packages, creating workspaces, and setting up the environment for development and testing purposes.

  7. 7
    Article
    Avatar of communityCommunity Picks·2y

    jesseduffield/lazydocker: The lazier way to manage everything docker

    Lazydocker is a Go-based terminal UI designed to simplify the management of Docker and Docker-Compose. It provides a single-terminal view for all necessary Docker commands and allows for easy customization. Features include viewing container logs, metrics, and states, as well as restarting, removing, or rebuilding containers. Installation can be done through various package managers or by building from source. Contributions from the community are encouraged, and the tool supports mouse events for easier navigation.

  8. 8
    Article
    Avatar of notedNoted·2y

    FileFlows - Self-Hosted Media Conversion Guide

    FileFlows is a self-hosted solution to manage and compress media files, saving you substantial disk space. This guide covers setting up FileFlows on Pop-OS with NVIDIA GPU support via Docker Compose, creating custom processing flows, and configuring libraries for media conversion. It highlights the benefits of GPU acceleration for faster file processing, how to add necessary plugins, and offers a detailed example flow for converting MKV to MP4, demonstrating significant disk space savings.

  9. 9
    Article
    Avatar of communityCommunity Picks·2y

    7 cool projects you can deploy with a NAS and Docker

    Transform your NAS or server with Docker containers to create powerful systems without much experience. Projects include running a Minecraft game server, hosting websites, blocking ads with Pi-hole or AdGuard, launching local cloud storage and media streaming services, managing passwords with Bitwarden, automating your home with Home Assistant, and building custom apps. Docker makes it easy to manage multiple packages and keep everything isolated and organized.

  10. 10
    Article
    Avatar of communityCommunity Picks·2y

    Install Ollama Using Docker Compose

    This guide provides a comprehensive step-by-step process for installing Ollama using Docker Compose on a server running Ubuntu Server 22.04 LTS. It covers the prerequisites like Docker Engine, Docker Compose, OpenSSH, and setting up Traefik as a reverse proxy for managing cryptographic certificates via Let’s Encrypt. Important tips on domain naming, port configurations, and accessing control panels for Ollama and Traefik are also included.

  11. 11
    Article
    Avatar of grafanaGrafana Labs·2y

    Container monitoring with Grafana: Helpful resources to get started

    Containers enable consistent application performance across different environments and are often organized into microservices for better efficiency and scalability. Grafana is a powerful tool for monitoring these containerized environments, offering capabilities to visualize, query, and analyze metrics and logs. Comprehensive documentation is available for deploying Grafana with Docker, Kubernetes, and Helm Charts, covering configuration, customization, and troubleshooting best practices. The community is also invited to contribute feedback and join the Grafana Champions program to support wider documentation efforts.

  12. 12
    Article
    Avatar of evolvedevevolvedev·2y

    Quick Docker Security Tips for Developers

    Enhance Docker security by using built-in networks to manage container communication and avoiding direct port exposure. Bind ports to `127.0.0.1` for improved security when running Docker on a VPS.

  13. 13
    Article
    Avatar of atomicobjectAtomic Spin·2y

    From Zero to Unraid: The Perfect Home Server OS

    Unraid is a versatile home server OS that simplifies the setup and management of Docker containers, virtual machines, and storage arrays. It offers extensive options for power users and is ideal for various home server scenarios, from media streaming to gaming. Unraid is easy to start with minimal hardware requirements and supports secure remote access through solutions like Cloudflared and Tailscale.

  14. 14
    Article
    Avatar of notedNoted·2y

    Whisper WebUI - The Self-Hosted AI Transcriber

    Whisper WebUI is a powerful self-hosted AI tool designed for transcribing audio to text locally. It supports multiple subtitle formats and can handle tasks like translating audio files and transcribing YouTube videos. Installation is simplified using a Docker Compose stack, and it can leverage NVIDIA GPUs for faster processing. Whisper is highly versatile, supporting multilingual speech recognition and translation. Additional models can be integrated from Hugging Face. Security considerations are crucial when exposing it to the public.

  15. 15
    Article
    Avatar of itnextITNEXT·2y

    Self-Hosting a Container Registry

    Self-hosting a container registry allows developers to maintain control over their container images, ensuring greater security and compliance with regulations. The guide provides step-by-step instructions to set up a registry server using Docker and Docker Compose, covering the configuration of Docker registry, Nginx for SSL/TLS handling, and domain setup. Alternatives like using Kubernetes or managed services like Harbor are also discussed.

  16. 16
    Article
    Avatar of mlmMachine Learning Mastery·2y

    A Practical Guide to Deploying Machine Learning Models

    Learn how to deploy a machine learning model in this hands-on guide. Starting with building the model using Scikit-learn, the guide walks you through creating a REST API with FastAPI, containerizing the API with Docker, and testing it locally. Finally, it covers tagging and pushing the Docker image to Docker Hub for easy distribution and hints at deploying to cloud platforms for production use.

  17. 17
    Article
    Avatar of detlifeData Engineer Things·2y

    PoC Data Platform project utilizing modern data stack (Airflow, Spark, DBT, Trino, Hive metastore, Lightdash, Delta Lake)

    The PoC Data Platform demonstrates extracting, loading, and transforming data using modern data technologies like Airflow, Spark, DBT, Trino, Hive Metastore, Lightdash, and Delta Lake. It utilizes AdventureWorks data within a data lake environment and offers insights into configuring these tools for data engineering and system design. The platform provides a comprehensive Docker setup with detailed instructions, making it a valuable resource for both beginners and professionals in data systems.

  18. 18
    Article
    Avatar of communityCommunity Picks·2y

    9 Open Source Projects to Contribute to - Hacktoberfest 2024

    Hacktoberfest is a month-long event encouraging contributions to open-source projects. Participants can earn a shirt by making four pull requests on GitHub repositories with the 'hacktoberfest' label. The post lists several projects and resources for new contributors, including tutorials, eBooks, and specific projects such as TailwindCSS Components, LaraSail, Wave, and more. These resources aim to help users get started with Git, GitHub, and various development tasks.

  19. 19
    Article
    Avatar of communityCommunity Picks·2y

    Choosing Between Docker Swarm and Kubernetes for Container Management

    Docker Swarm and Kubernetes are essential tools for container orchestration in distributed environments. Docker Swarm is simpler to manage and integrates well with Docker, making it suitable for small-scale operations. Kubernetes, developed by Google, offers advanced features like auto-scaling, self-healing, and extensive tool integrations, making it ideal for complex, large-scale deployments. Understanding their key differences in networking, storage solutions, security, integration, and community support can help you choose the right tool for your needs.

  20. 20
    Video
    Avatar of youtubeYouTube·2y

    Run ALL Your AI Locally in Minutes (LLMs, RAG, and more)

    Learn how to set up a comprehensive local AI infrastructure using a package from the n8n team, featuring components like olama for LLMs, Quadrant for the vector database, and PostgreSQL for the SQL database. The setup process involves configuring environment variables, Docker Compose files, and integrating various tools to create a fully local RAG AI agent. The guide offers detailed steps on customizing and extending the package, troubleshooting, and future enhancement plans.

  21. 21
    Article
    Avatar of lnLaravel News·2y

    Creating a CLI Application With Laravel and Docker

    Learn how to create a CLI application using Laravel and Docker. The guide provides steps to set up a project, scaffold a command to check stock prices using the Polygon.io API, and prepare the application to run via Docker. It also explains how to configure environment variables for API keys and leverage Docker's ENTRYPOINT instruction for running commands.

  22. 22
    Article
    Avatar of communityCommunity Picks·2y

    Lightning-Fast Development with Zed and Dev Containers

    Dev Containers offer a consistent, isolated development environment that works across all operating systems, addressing common issues like environment setup for new team members. Zed, a high-performance code editor, can leverage dev containers using its Tasks feature. The post explains how to set up Dev Containers and configure Zed Tasks, providing reusable commands and lifecycle automation to streamline development.

  23. 23
    Article
    Avatar of evolvedevevolvedev·2y

    The Ultimate Guide for Deploying Go Applications to Production

    Learn to deploy Go applications and services in the cloud. The guide covers building binaries, deploying on VPS, using Docker, and more.

  24. 24
    Article
    Avatar of changelogChangelog·2y

    Developing with Docker (the right way) (Changelog News #118)

    Discover the best practices and key insights for using Docker effectively in development environments. Learn how to optimize your workflow and avoid common mistakes when developing with Docker.

  25. 25
    Video
    Avatar of christianlempaChristian Lempa·2y

    Simple HTTPs for Docker! // Traefik Tutorial (updated)

    Learn how to set up and manage HTTPS and routing for Docker applications using Traefik, a free and open-source reverse proxy. This tutorial focuses on Docker integration, configuring Let's Encrypt for TLS certificates, and the benefits of using Traefik. Suitable for both beginners and advanced users, the guide provides detailed steps on installation, configuration, and deploying Traefik to secure your web applications. Additionally, it highlights integrating Cloudflare for DNS management and SSL certificate issuance.