Possible to use btrfs inside container (not on host)?

rewen

Member
Oct 26, 2017
2
0
6
38
Hi there,

I have been searching the internet for a couple of hours now and so far come up empty handed.

I would like to create some containers and use Docker in them. I have this working by tweaking the /etc/pve/lxc/CTID.conf for the containers like so:

lxc.aa_profile: unconfined
lxc.cgroup.devices.allow: a
lxc.cap.drop:

The issue I am having is that it's horrible slow and from what I can tell it's a filesystem/io issue. Supposedly using btrfs helps with this.

Something else I tried is using a local directory as the container rootfs.. it didn't help much.

So my question is how can I specify, format, or convert the filesystem used in my containers so that I can give btrfs a try without using btrfs on my host? My containers run Ubuntu 16.04 FYI.
 

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!