Resource consumption docker Vs virtual machine

Hi,
I’m using a docker install but I find not practical to login via SSH every time I want to edit a configuration file or I want to load/update add-ons.

What would be the difference in resource consumption (in particular memory and CPU) between the docker install and a virtual machine install?

Thanks for the information.

With a VM, you are reserving resources whether you’re actually using them or not.
With docker, the apps inside a container use resources like they would if they would run on the host itself.

Keep the docker exec -it <container_name> bash command in mind, if you don’t want to go through ssh. It opens a shell inside the container.