Return to site

Docker for mac tomcat

broken image
broken image

I am ok with mac, just want a little more juice form Docker on Mac. Second time is in 0.4 seconds, faster, but still a bit slow (0.01 on host).Īre there any things i should do to improve the speed on Mac? And please, don't tell me to switch to linux :). All containers running on a system share the same kernel Mac OS X does not use the Linux kernel, but rather a mach kernel, so it cannot be run inside a Docker container at this time. Here is a short gif demonstrating times running a simple php command first time and second time. Docker provides methods for managing OS-level containers and is built on top of Linux's native features for OS-level containerization. The speed improves a bit more but only when doing a command for two times. I am using NFS with d4m-nfs and the speed improves a bit.Īlso I downloaded the edge version for D4M and tried to bind the volume as delegated. But instead if I work with Laravel or other stuff in a container, volume speeds are low. For an app i managed to bind the volume as read-only as the PHP app is sandboxed and does not write to disk. Performance is much slower on Mac though. I used to have a ubuntu laptop for my primary development machine, now I switched to Mac. I am using docker for all my development.