Monday, May 25, 2020

Docker on mac


  • https://docs.docker.com/docker-for-mac/
  • start the "docker desktop" app from the finder
  • no free "docker licence"  for companies > 250 people
    • https://apple.stackexchange.com/questions/435962/running-docker-daemon-on-apple-silicon-without-docker-desktop 
    • docker desktop includes

    • brew install docker
    • brew install docker-machine
    • brew install --cask virtualbox. (not sure if we need this)
    • docker pull elasticsearch:7.7.1

    • brew list
    •     . docker
    •     . docker-machine

    • docker info
    •     Client:
    •      Context:    default
    •      Debug Mode: false
    •      Plugins:
    •       buildx: Docker Buildx (Docker Inc., v0.8.2)
    •       compose: Docker Compose (Docker Inc., v2.6.1)
    •       extension: Manages Docker extensions (Docker Inc., v0.2.7)
    •       sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc., 0.6.0)
    •       scan: Docker Scan (Docker Inc., v0.17.0)

    •     Server:
    •      Containers: 23
    •       Running: 1
    •       Paused: 0
    •       Stopped: 22
    •      Images: 57