Uploaded October 2025 | Updated September 2026, 1 week ago
Description
Learn how to install Ollama in a Docker container on your Hostinger VPS with persistent storage. Perfect for using local AI models in n8n workflows without API costs. Complete beginner-friendly guide for non-developers.
Get 20% off Hostinger VPS (referral link):
https://hostinger.com?REFERRALCODE=BYS0JAIWCIJP
What You Will Learn (How):
๐ Install Ollama in Docker with persistent model storage
๐ Create a private Docker network (so it can talk to other containers later)
๐ Downloading and manage Ollama AI Models
๐ Verify setup is not exposed to public internet
๐ Why Install Ollama on VPS?
Wispr Flow is my tool of choice for fast, polished voice-to-text in any app.
ref.wisprflow.ai/mike-murphy (affiliate link)
Hostinger VPS:
mikemurphy.co/vps (affiliate link)
Cheatsheet (Snippets) on GitHub:
https://dub.sh/ollama_1 (Part 1)
https://dub.sh/ollama_2 (Part 2)
Ollama + N8N Mini-Series:
(Part 1: Ollama + Docker Network): youtu.be/9-u3BGl0ubU
(Part 2: Ollama + N8N Workflows): youtu.be/5qFNxvj59hw
Prerequisites:
Hostinger VPS with Ubuntu OS
Docker & Docker Compose installed
5GB Free Hard Disk Space
Ollama:
olama.com
Tutorials:
n8n + Docker Containers + Hostinger VPS:
youtu.be/9-u3BGl0ubU
How To Update n8n:
youtu.be/tsSo9tC8J3g
Ollama Desktop App:
youtu.be/vkhuduZWOIw
Ollama Models:
llama 3.2:latest (ollama.com/library/llama3.2:latest)
qwen 2.5:0.5b (ollama.com/library/qwen2.5:0.5b)
gemma2:2b (ollama.com/library/gemma2:2b)
Chapters:
00:00 About The Tutorial
00:28 In Part 1 of Tutorial
01:15 In Part 2 of Tutorial
01:50 VPS Account + LLM Performance
02:54 Prerequisites For Tutorial
03:24 What Is Ollama?
04:04 Confirm Unbuntu OS
04:24 VPS + Network Overview
05:18 n8n Update Tutorial
05:51 VPS Browser Terminal
06:04 Step 1: Docker & Docker Compose
06:38 Ask Kodee (ChatBot)
07:06 Step 2: Create Project Folder
08:28 Step 3: Create Shared Docker Network
09:10 Verify Network Settings
09:33 Shared Docker Network Overview
09:53 Step 4: Create Docker-Compose YAML
10:17 pwd = print working directory
10:49 docker-compose.yml Overview
11:57 Create Docker-Compose File
12:25 Nano Text Editor
13:34 Write Out Sequence (Nano)
15:08 Verify File Was Created
15:37 Step 5: Start Docker Container
16:28 Step 6: Ollama Models
17:02 Pull (Download) Ollama Models
18:03 Pull llama3.2:latest
19:20 Fun Llama Facts!
20:03 /bye
20:37 qwen model (KVM1 Plans)
20:58 Name of Models
22:41 Remove (Delete) Models
23:58 Step 7: Security Check
24:38 Step 8: Inspect Setup
25:57 Docker Manager
26:59 Recap & Preview
Step-by-Step (Olama Setup on VPS):
๐ Sign in to the Hostinger dashboard and open the Terminal.
๐ Confirm Docker and Docker Compose are installed
๐ Create a dedicated project folder for Ollama (mkdir)
๐ Navigate into Ollama Directory (cd)
๐ Create the shared Docker network called 'App-Net'
๐ Create the docker-compose.yml file using Nano editor
๐ Paste the configuration content (defining the container, network settings, volume storage)
๐ Save (Write Out) of Nano (Control+O). Press Return. Exit (Control + X)
๐ Launch the Ollama Docker container in the background
๐ Confirm Ollama is running using docker.ps
๐ Pull in Llama 3.2 Models
๐ Run a security port check to ensure ports are not exposed externally
โโโโโโResourcesโโโโโโโ
โGear I Use: mikemurphy.co/resources
โAdobe After Effects: mikemurphy.co/adobe
โTerrapin Textures: terrapintextures.com
โ Adobe Audition Course (Domestika): mikemurphy.co/domestika
โAmazon Influencer Store: amazon.com/shop/mikemurphyco
โSee All My Gear: mikemurphy.co/podgear
โ Get Adobe Creative Cloud: mikemurphy.co/adobe
โ Screenflow: mikemurphy.co/screenflow
โ Website: mikemurphy.co
โ Podcast: mikemurphy.co/mmu
โ Instagram: instagram.com/mikeunplugged
โ X: http://x.com/mikeunplugged
โ YouTube: mikemurphy.co/youtube
Amazon Associates Disclosure:
Mike Murphy is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Description
Learn how to install Ollama in a Docker container on your Hostinger VPS with persistent storage. Perfect for using local AI models in n8n workflows without API costs. Complete beginner-friendly guide for non-developers.
Get 20% off Hostinger VPS (referral link):
https://hostinger.com?REFERRALCODE=BYS0JAIWCIJP
What You Will Learn (How):
๐ Install Ollama in Docker with persistent model storage
๐ Create a private Docker network (so it can talk to other containers later)
๐ Downloading and manage Ollama AI Models
๐ Verify setup is not exposed to public internet
๐ Why Install Ollama on VPS?
Wispr Flow is my tool of choice for fast, polished voice-to-text in any app.
ref.wisprflow.ai/mike-murphy (affiliate link)
Hostinger VPS:
mikemurphy.co/vps (affiliate link)
Cheatsheet (Snippets) on GitHub:
https://dub.sh/ollama_1 (Part 1)
https://dub.sh/ollama_2 (Part 2)
Ollama + N8N Mini-Series:
(Part 1: Ollama + Docker Network): youtu.be/9-u3BGl0ubU
(Part 2: Ollama + N8N Workflows): youtu.be/5qFNxvj59hw
Prerequisites:
Hostinger VPS with Ubuntu OS
Docker & Docker Compose installed
5GB Free Hard Disk Space
Ollama:
olama.com
Tutorials:
n8n + Docker Containers + Hostinger VPS:
youtu.be/9-u3BGl0ubU
How To Update n8n:
youtu.be/tsSo9tC8J3g
Ollama Desktop App:
youtu.be/vkhuduZWOIw
Ollama Models:
llama 3.2:latest (ollama.com/library/llama3.2:latest)
qwen 2.5:0.5b (ollama.com/library/qwen2.5:0.5b)
gemma2:2b (ollama.com/library/gemma2:2b)
Chapters:
00:00 About The Tutorial
00:28 In Part 1 of Tutorial
01:15 In Part 2 of Tutorial
01:50 VPS Account + LLM Performance
02:54 Prerequisites For Tutorial
03:24 What Is Ollama?
04:04 Confirm Unbuntu OS
04:24 VPS + Network Overview
05:18 n8n Update Tutorial
05:51 VPS Browser Terminal
06:04 Step 1: Docker & Docker Compose
06:38 Ask Kodee (ChatBot)
07:06 Step 2: Create Project Folder
08:28 Step 3: Create Shared Docker Network
09:10 Verify Network Settings
09:33 Shared Docker Network Overview
09:53 Step 4: Create Docker-Compose YAML
10:17 pwd = print working directory
10:49 docker-compose.yml Overview
11:57 Create Docker-Compose File
12:25 Nano Text Editor
13:34 Write Out Sequence (Nano)
15:08 Verify File Was Created
15:37 Step 5: Start Docker Container
16:28 Step 6: Ollama Models
17:02 Pull (Download) Ollama Models
18:03 Pull llama3.2:latest
19:20 Fun Llama Facts!
20:03 /bye
20:37 qwen model (KVM1 Plans)
20:58 Name of Models
22:41 Remove (Delete) Models
23:58 Step 7: Security Check
24:38 Step 8: Inspect Setup
25:57 Docker Manager
26:59 Recap & Preview
Step-by-Step (Olama Setup on VPS):
๐ Sign in to the Hostinger dashboard and open the Terminal.
๐ Confirm Docker and Docker Compose are installed
๐ Create a dedicated project folder for Ollama (mkdir)
๐ Navigate into Ollama Directory (cd)
๐ Create the shared Docker network called 'App-Net'
๐ Create the docker-compose.yml file using Nano editor
๐ Paste the configuration content (defining the container, network settings, volume storage)
๐ Save (Write Out) of Nano (Control+O). Press Return. Exit (Control + X)
๐ Launch the Ollama Docker container in the background
๐ Confirm Ollama is running using docker.ps
๐ Pull in Llama 3.2 Models
๐ Run a security port check to ensure ports are not exposed externally
โโโโโโResourcesโโโโโโโ
โGear I Use: mikemurphy.co/resources
โAdobe After Effects: mikemurphy.co/adobe
โTerrapin Textures: terrapintextures.com
โ Adobe Audition Course (Domestika): mikemurphy.co/domestika
โAmazon Influencer Store: amazon.com/shop/mikemurphyco
โSee All My Gear: mikemurphy.co/podgear
โ Get Adobe Creative Cloud: mikemurphy.co/adobe
โ Screenflow: mikemurphy.co/screenflow
โ Website: mikemurphy.co
โ Podcast: mikemurphy.co/mmu
โ Instagram: instagram.com/mikeunplugged
โ X: http://x.com/mikeunplugged
โ YouTube: mikemurphy.co/youtube
Amazon Associates Disclosure:
Mike Murphy is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com










