Using Docker as a package manager
Blog post from Octopus Deploy
Matthew Casperson discusses the challenges of automating DevOps tasks and presents Docker as an effective solution for managing and running CLI-based tools across different operating systems. Traditionally, users of Linux, macOS, and Windows have relied on package managers like HomeBrew, MacPorts, and Chocolatey to install necessary tools, but many cloud-based CLI tools are only available through direct binary downloads, complicating automation scripts. Docker images offer a universal solution, providing consistent commands for downloading and running tools, regardless of the operating system. Casperson illustrates this with practical examples such as running the helm tool via Docker, which allows seamless interaction with local files and configurations through volume mounting. He also explains how to simplify Docker commands using aliases and integrates these into non-interactive environments like Octopus deployments. By leveraging Docker images, DevOps teams can avoid the complexities of managing tool installations across platforms, enabling more efficient and reliable automation processes.