4 ms·
Sure, you can create a blank, empty VM in less than five minutes... but the point of creating a Docker image is that it has everything pre-installed, ready-to-g
by colemickens 10y ago
Sure, you can create a blank, empty VM in less than five minutes... but the point of creating a Docker image is that it has everything pre-installed, ready-to-go.... you're not even remotely comparing apples-to-apples.
Large images aren't an issue anyway, since the base layers will just be cached...
- agentgt 10y agoI said I'm comparing with what I know and experienced (and this is for a JVM shop). I'm sure we could have gotten Docker to probably to be faster especially given your passionate comments (and it appears after googling there have been improvements in docker build time). But I just ran gcloud to create a VM with Java and copied a Jar in under a minute. I just can't figure out a way to get docker to that speed. Are you creating images and copying that fast? We must me do something massively wrong with docker. EDIT: I found out the reason... It appears we had some issues with the Docker cache and had to disable it (I don't know the exact details why yet). Please disregard my comments on slow docker building. Apologies. I wish I could delete my comments and feel a little bad about potentially spreading incorrect information...
- colemickens 10y agodocker build time for adding a jar to an image that has been built before and has been cached is less than 10 seconds.