Notes on Docker
- Install Docker Desktop for Mac.
- Note: you'll be required to create an account on https://hub.docker.com/
- Note: installing this app is an alternative to
brew install docker. Don't do both.
If you forget to start the Docker Desktop app, you'll see errors like this:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Try it out:
$ docker info
Docker for mac creates a Linux VM and gives it 2GB of RAM.
See getting started.
Start a bash shell on a debian image:
docker run -it debian bash