Vigyata.AI
Is this your channel?

Install Docker & Docker Compose on Ubuntu Server (with Portainer + SSH) | Step-by-Step 2025 #docker

900 views· 30 likes· 9:50· Sep 2, 2025

🛍️ Products Mentioned (5)

https://erp.installerguru.in/solutions Set up a production-ready Docker host on Ubuntu Server from scratch—perfect for beginners and homelab pros. In this step-by-step guide, we’ll: Download and install Ubuntu Server (static IP + OpenSSH) Connect via SSH using MobaXterm (why it’s handy vs PuTTY) Install Docker Engine and Docker Compose Deploy Portainer CE for an easy web UI to manage containers, volumes, networks, and stacks Verify everything and run your first stacks with a docker-compose.yml What you’ll learn Static IP setup (subnet, gateway, DNS) Why snap packages exist and when to skip them Quick Docker install (Ubuntu repo) + enabling the service Compose v2 vs legacy docker-compose Portainer setup on ports 8000/9443 Using Stacks to deploy apps with a single YAML Commands (copy–paste) # Update & upgrade sudo apt update && sudo apt upgrade -y # Install Docker (Ubuntu repo) + enable sudo apt install -y docker.io sudo systemctl enable --now docker docker --version # Let your user run docker without sudo sudo usermod -aG docker $USER newgrp docker # Docker Compose (v2 plugin) sudo apt install -y docker-compose-plugin docker compose version # Portainer (persistent volume + run) docker volume create portainer_data docker run -d -p 8000:8000 -p 9443:9443 \ --name portainer --restart=always \ -v /var/run/docker.sock:/var/run/docker.sock \ -v portainer_data:/data \ portainer/portainer-ce:lts Links: Ubuntu server: https://ubuntu.com/download/server MobaXterm: https://mobaxterm.mobatek.net/ Portainer: https://www.portainer.io/ Yutube videos: https://youtu.be/nUNdXruDyS0 Need help with larger setups? We design secure, scalable server & network deployments for clinics, hospitals, and businesses. 📧 guruinstaller@gmail.com | 🌐 https://www.installerguru.in If this helped, like, share, and subscribe to Installer Guru—Installation made easy. #installerguru #Docker #UbuntuServer #DockerCompose #Portainer #Linux #DevOps #SelfHosted #HomeLab #SysAdmin #HyperV #MobaXterm #SSH #ServerSetup #Containers #YAML #2025

About This Video

Hello and welcome to Installer Guru—where we make installation easy. In this video I build a production-ready Docker host on Ubuntu Server from scratch, the same way I’d do it for a clean homelab or a simple business setup. I start by downloading the latest stable Ubuntu Server ISO, running the installer, and setting a manual static IP (subnet, gateway, and DNS). I also enable OpenSSH during install so I can manage everything remotely from the beginning. Once Ubuntu Server is up, I connect over SSH using MobaXterm because I like the extra control—especially the side-by-side layout with a file browser on the left and terminal on the right. Then I update the system packages, install Docker from Ubuntu’s repository, enable the Docker service, and add Docker Compose (the v2 plugin) so I can run multi-container apps from a single YAML file. After verifying versions, I deploy Portainer CE (LTS) with a persistent Docker volume and expose it on ports 8000 and 9443. From there, Portainer gives you a clean web UI to manage containers, volumes, networks, and Stacks—so you can paste a docker-compose.yml and deploy an entire setup in one shot.

Frequently Asked Questions

🎬 More from Installer Guru