LXC Ubuntu 18.04 installing default packages

swizes

New Member
Apr 12, 2020
1
0
1
33
Hello,

I have started using Proxmox for couple of months and I am currently using only LXC for my work because all I need is linux environment. Unfortunately everytime I create a container, I have to install curl and/or other packages, which comes actually default with Ubuntu Server. Is there any way to avoid those manual installations? It would allow me to do my work faster. What I am looking for is a few commands, which would install those default packages
 
You have a few options:
* the most simple probably would be to create one container - configure it to your liking, install all wanted software - and then convert this container to a template - afterwards you clone the template instead of creating new containers.
* an alternative is to use a configuration management system, which you deploy on your containers (then again you would need to install that one initially)

I hope this helps!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!