Skip to content
On this page

Docker

Docker

Docker is a set of platform as a service products that uses OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels.

Installation

Download and install Docker for Mac.

Or install it using brew

bash
brew cask install docker

Useful commands

bash
# Delete all containers
docker rm $(docker ps -a -q)

# Prune system
docker system prune [--all]