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
• Proxmox Home Server Tutorials
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
- /var/run/docker.sock:/var/run/docker.sock: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/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
ports:
- "9001:9001"
======
- Social
Insta : http://bit.ly/2ICNLH6
Twitter: http://bit.ly/2L2NlLS
Email me: [email protected]
#samsungdex
#ct
#lxc
#proxmox
#selfhosted