Explain the key differences between a Docker container and a virtual machine in terms of resource utilization and isolation.