Running Docker in a Proxmox LXC container offers the perfect balance of performance and isolation. This comprehensive guide shows you how to properly set up Docker in an unprivileged Proxmox LXC container - the secure way! Learn the exact steps I use in my own homelab setup for running Docker-based services like media servers and home automation.
In this tutorial, you'll learn:
• Why Proxmox LXC is better than VMs for Docker
• How to create an unprivileged LXC container
• Complete system preparation and security hardening
• Step-by-step Docker installation process
• Best practices and performance tips
TIMESTAMPS:
00:00 - Introduction
01:03 - Proxmox and LXC Containers Explained
02:58 - Creating Unprivileged Ubuntu 22.04 LXC
09:57 - System Preparation Steps
10:20 - Creating Non-Root User
11:11 - System Updates
12:03 - SSH Configuration
13:24 - Installing Required Packages
14:20 - System Performance Tweaks
15:05 - UFW Firewall Setup
17:30 - Automated Setup Options
18:22 - Docker Installation
RELEVANT PLAYLISTS:
▶️ Proxmox Tutorials: https://www.youtube.com/playlist?list=PL1Hno7tIbSWVrEK7Uibb8WBCN_hjozr_z
▶️ Ultimate Docker Media Server:
https://www.youtube.com/watch?v=GfzgNJAM19o&list=PL1Hno7tIbSWV-c1E87BqTzPMgfGxM08nf
RELATED GUIDES:
🔗 https://www.simplehomelab.com/ultimate-docker-server-1-os-preparation/
🔗 https://www.simplehomelab.com/docker-media-server-2024/
🔗 https://www.simplehomelab.com/traefik-v3-docker-compose-guide-2024/
DEPLOYARR (FORMERLY AUTO-TRAEFIK):
📰 https://www.simplehomelab.com/go/deployarr-ytd/
🎞️
https://youtu.be/OnoKy73b-w4
GITHUB REPOSITORIES:
📜 https://github.com/SimpleHomelab/docker-traefik
MY PROXMOX HOST:
🖥️ Topton V700 Intel i7-13800H Mini PC with 64 GB RAM: https://www.simplehomelab.com/go/topton-v700-yt (Affiliate Link)
🔗 Best Mini PC for Proxmox: https://www.simplehomelab.com/best-mini-pc-for-proxmox-2024/
SUPPORT MY WORK:
💝 https://www.simplehomelab.com/go/memberships-ytd/
☕ https://buymeacoffee.com/simplehomelab
🎁 https://ko-fi.com/simplehomelab
JOIN THE COMMUNITY:
🤝 https://www.simplehomelab.com/go/discord-ytd/
🏠 https://www.simplehomelab.com/
FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!
🐦 Twitter: https://twitter.com/simplehomelab
📘 Facebook: https://facebook.com/simplehomelab
📸 Instagram: https://www.instagram.com/simplehomelab
#proxmox #homelab #docker #containerization #lxc #virtualization #homeserver #mediaserver #plex #selfhosted #ubuntu #ufw #networking