Hi,
I have a Proxmox machine that has quite a beefy spec - 256Gb RAM, a few SSDs and HDs and dual Xeon(R) CPU E5-2640. It's a powerful machine and Proxmox runs everything I throw at it. Until recently.
I used to use an i5 Shuttle with 8Gb of RAM and a 1tb hard disk as my Docker server running on Ubuntu 18.04. As an experiment I decided to build a VM with Ubuntu 18.04 and install Docker on it. I then transferred over my docker-compose.yaml file. I didn't copy any data at this point. I started up my docker stack and off it went. I tried some simple things like loading NextCloud. On the i5 it's instant. On the VM it takes about 40 seconds. I did some basic troubleshooting and did things like running htop and it didn't seem to be struggling. It's just running containers really slowly. After a few more experiments with settings I now have a VM with 16 cores and 64Gb of memory and it still runs really slowly. In fact, none of the iterations on the way to this machine made any difference. The OS itself seems to be running fine but something about virtualising Docker is causing Docker - I assume - problems.
Has anyone else set up a VM to run Docker? If it worked for you were there any extra steps you took?
Just to be clear - I know I only mentioned NextCloud but this is all the web based containers. They're super fast on the i5 machine but really slow on the VM. No diagnostic tools or the graphs in Proxmox appear to show that this now heavily over-spec'd VM is struggling. It just seems to having trouble serving the web front ends of the containers.
Thanks in advance for any pointers anyone can give.
Steve
I have a Proxmox machine that has quite a beefy spec - 256Gb RAM, a few SSDs and HDs and dual Xeon(R) CPU E5-2640. It's a powerful machine and Proxmox runs everything I throw at it. Until recently.
I used to use an i5 Shuttle with 8Gb of RAM and a 1tb hard disk as my Docker server running on Ubuntu 18.04. As an experiment I decided to build a VM with Ubuntu 18.04 and install Docker on it. I then transferred over my docker-compose.yaml file. I didn't copy any data at this point. I started up my docker stack and off it went. I tried some simple things like loading NextCloud. On the i5 it's instant. On the VM it takes about 40 seconds. I did some basic troubleshooting and did things like running htop and it didn't seem to be struggling. It's just running containers really slowly. After a few more experiments with settings I now have a VM with 16 cores and 64Gb of memory and it still runs really slowly. In fact, none of the iterations on the way to this machine made any difference. The OS itself seems to be running fine but something about virtualising Docker is causing Docker - I assume - problems.
Has anyone else set up a VM to run Docker? If it worked for you were there any extra steps you took?
Just to be clear - I know I only mentioned NextCloud but this is all the web based containers. They're super fast on the i5 machine but really slow on the VM. No diagnostic tools or the graphs in Proxmox appear to show that this now heavily over-spec'd VM is struggling. It just seems to having trouble serving the web front ends of the containers.
Thanks in advance for any pointers anyone can give.
Steve