DanLevy.net

Docker rocks & now works on OSX

Docker is amazing, fast, and flexible

Hero image for Docker rocks & now works on OSX

Docker Rocks

Updates September 2016, 2018 Boot2Docker has been replaced by Docker for Mac

Historical note: this post is intentionally preserved as a 2015-era Docker-for-Mac snapshot. The performance advice and tooling names reflect that moment; current Docker Desktop and Compose workflows have moved on.

  1. Docker is amazing, fast, and flexible.
  2. Prior tools, boot2docker particularly, were slow and prone to crash.

Docker can currently run natively on a Linux Kernel v3.4+ - and the current boot2docker vm actually runs v4.

Best use of your hardware: Install the Latest Debian or Ubuntu on your Mac/Windows box,

… c’mon those games aren’t helping your code…

Check your setup

Review the output of docker info command.

  1. Security: Check the server for unexpectedly open ports (with nmap from a remote network)
  2. DNS: Use a local cache or low-latency DNS server.
  3. Storage: Use the correct storage driver (overlay2 is likely)

Updated 2024: