Monthly Archives: November 2016

Docker for Mac file access performance

If you’ve been reading File access in mounted volumes extremely slow , then you know that using shared volumes (from host filesystem) in Docker for Mac is quite hard and slow. But there’s a work-around if you don’t want to install any 3rd party software or configurations. Meet docker-machine-nfs.

Let’s test write performance on containers without and with shared volumes in Docker for Mac. Continue reading

Leave a comment

Filed under Uncategorized

The importance of PID 1 in containers

The Docker platform leverages Docker containers to enable IT operations teams and Developer teams to build, ship and run any application, anywhere. (from docker.com)

I’ve been working with Docker for 3 years now and seen some cases where an image has to perform some steps before booting the application(s). It’s usual to see that done with a bash script that doesn’t launch the application preceded by an exec command. Let me explain:

Continue reading

Leave a comment

Filed under docker, Tech