Proxmox Templates Part 2/2 - LXC TEMPLATE

preview_player
Показать описание
VM and CT templates - Part 2/2 : Setting up CT Template

Next on the list in this task of create templates is CT Template. We will create CT template which will allow to create containers with all the software preinstalled. It might sound not a big deal but when you are doing multiple containers each day, installing repetitive programs becomes a chore which you want to do less and less. Takes all the fun out of having a home-server

- Series Playlist

Chapters
- 00:00 Intro
- 00:17 Download initial CT template
- 01:14 Setting up CT container
- 03:25 enable SSH connection
- 04:50 Update and Upgrade + docker stuff
- 05:55 Portainer and Portainer-Agent
- 09:45 Creating CT Template
- 10:12 The End

======
Portainer docker-compose
---
version: '3'

services:
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
- /etc/localtime:/etc/localtime:ro
- ./portainer-data:/data
ports:
- 9000:9000

======
Portainer agent docker compose
---
version: '3.2'

services:
agent:
container_name: agent
image: portainer/agent:latest
restart: always
volumes:
- /var/lib/docker/volumes:/var/lib/docker/volumes
ports:
- "9001:9001"

======

- Social

#samsungdex
#ct
#lxc
#proxmox
#selfhosted
Рекомендации по теме
Комментарии
Автор

Another great one, thanks for the vid!

Montagic
Автор

Thank you so much for sharing your knowledge and time. You're a legend!

adimella
Автор

I like very much your tutorials and decide to follow. But as a total beginner, I found some things hard to understand. For example, in this video I do not understand the concept, general idea, why I would like to instal DietPi os, what is it etc...what are drawbacks of this concept etc... I am looking forward to explore the channel more. Wish you all the best.

mmoci
Автор

Your reply made my day! I re-subbed immediately and thank you for you reply. I understand completely regarding work, kids, life 😮‍💨 whew, never enough time. I shouldn't have been so impatient. I actually replied to your comment but in my haste to delete my unsubbing announcement I deleted the entire reply...I know I'm such a genius 🤦🏻‍♂️.

Anyways what I stated was I double and triple checked the code and messed the console up to somehow I had a regular user and root and apparently everything I downloaded (docker and the directory of nano docker-conpose) it was NOT in the root profile and I'd done forgotten the user password whew ... When I mess things up I mess it up the best 😅. So I of course got frustrated and deleted the entirety of DietPi.

Now, someone asked why DietPi as it's usually ran on a SoC or small device. It's cause the machine is old and it's a small distro and lightweight I told them and so we bounced around why not use what I'm familiar with like Parrot or Kali as both are pretty lightweight distros. So all that being stated I'd like to know what you think? If Parrot or Kali isn't a good idea, why? Also if it is fine then can I still basically follow your guide the same way? I know all the CLis I'm sure will work fine but is there something that you install later specifically for DietPi as I got stuck on this video trying to run the nano docker-conpose.yml script? When time permits please just let me know, thank you very very much, again liked and subbed. 😇

repairstudio
Автор

When i try to convert to template it gives me this "error: template feature is not available for 'Dysk128gb:vm-998-disk-0'

xjaniuuux