Docker Community Forums

Share and learn in the Docker community.

Compare a Docker Container vs a VM

docker

(Pedro47) #1

Hi all,

I’m fairly new to Docker and have a few general questions that you may be able to assist me with.

Can anyone recommend any bench-marking tools in order to compare and analyse a Docker container vs a VM to compare lets say Memory, CPU usage, Disk I/O & Network throughput?

Is there any other Docker commands that can be used in order to get more information about a container other than

  • docker inspect #container-id
  • docker info (which really gives you information on the VM or local machine where Docker is installed)
  • du
  • df

to allow a user gather more information about the container in order to compare resources to lets say a full Ubuntu VM?


(Nxlhero) #2

They are different technologies by nature. Container is a based on process isolation and grouping, while virtualization emulate a hardware interface for a OS.