Docker Logo

How to Install Docker and Docker Desktop on Fedora

Docker is a popular containerization platform that allows developers to package applications and their dependencies into lightweight, portable containers. In this guide, we’ll walk through the installation of both Docker and Docker Desktop on Fedora. Prerequisites Fedora 35 or later sudo privileges Internet connectivity Step 1: Update Your System Before installing Docker, ensure your system is up to date: sudo dnf update -y Step 2: Add the Docker Repository Fedora does not include Docker in its default repositories, so you need to add the official Docker repository: ...

February 7, 2025 · 3 min · 458 words · fernand3z

Docker Containers: A Practical Guide

What are Docker Containers? Docker containers are lightweight, standalone packages that include everything needed to run a piece of software. Basic Docker Commands Here are some essential Docker commands you’ll use daily: # Pull an image docker pull nginx # Run a container docker run -d -p 80:80 nginx # List running containers docker ps # Stop a container docker stop container_id Creating a Dockerfile Here’s a simple Dockerfile for a Node.js application: ...

January 29, 2025 · 1 min · 124 words · Me

Kubernetes for Beginners: Container Orchestration Made Simple

Understanding Kubernetes Kubernetes (K8s) is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. Key Concepts Pods Services Deployments ConfigMaps Secrets Basic Pod Definition apiVersion: v1 kind: Pod metadata: name: nginx-pod labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 Simple Deployment apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 Common Commands # Get cluster info kubectl cluster-info # Create resources kubectl apply -f deployment.yaml # List resources kubectl get pods kubectl get deployments Stay tuned for more Kubernetes tutorials! ...

January 26, 2025 · 1 min · 109 words · Me

Git Workflow Mastery: Best Practices for Teams

Git Workflow Strategies Understanding Git workflows is crucial for effective team collaboration. Git Flow Overview # Feature development git checkout -b feature/new-feature develop git add . git commit -m "feat: add new feature" git push origin feature/new-feature # Release preparation git checkout -b release/1.0.0 develop git tag -a v1.0.0 -m "Version 1.0.0" Common Workflows Git Flow master/main develop feature/* release/* hotfix/* Trunk-Based Development main branch short-lived feature branches Advanced Git Commands # Interactive rebase git rebase -i HEAD~3 # Cherry-pick specific commits git cherry-pick abc123 # Clean up local branches git branch --merged | grep -v "\*" | xargs -n 1 git branch -d Best Practices Write meaningful commit messages Keep branches short-lived Review before merging Use conventional commits Regular rebasing Example conventional commit: ...

January 22, 2025 · 1 min · 146 words · Me