April 15, 20206 yr I have a share that I have all of my development work in that lives on my cache drive. One of the projects is a Node program that is compiled with webpack. I noticed that when I try to run this via docker vs VM, the results are quite different... I setup some different use cases to figure out what is going on. My docker container and VM are both running Ubuntu 18.04 Docker Container: Project running from share passed in as a volume: Takes ~160-180 seconds to finish running. Project running from local docker fs: Takes ~50 seconds to finish running VM: Project running directory mounted from NFS share: Takes ~90-100 seconds to finish running Project running from local VM ssd (unassigned device): Takes ~70-80 seconds to finish running I would have imagined that the docker volume would be faster than consuming the share from NFS, but maybe I'm doing something wrong? Has anyone else noticed how a discrepancy this bad?
Archived
This topic is now archived and is closed to further replies.