dockrun oneshot — quick local environments for testing infrastructure
Since I work among a ton of different Linux distros and environments in my day-to-day work, I have a lot of tooling set up that's mostly-OS-agnostic. I found myself in need of a quick barebones CentOS 7 VM to play around in or troubleshoot an issue. Or I needed to run Ubuntu 16.04 and Ubuntu 14.04 side by side and run the same command in each, checking for differences. Or I needed to bring up Fedora. Or Debian.
I used to use my Vagrant boxes for VirtualBox to boot a full VM, then vagrant ssh
in. But that took at least 15-20 seconds—assuming I already had the box downloaded on my computer!