Skip to content
Diogo Lundberg edited this page Sep 4, 2018 · 3 revisions

Installation

MacOS

Using homebrew

brew cask install docker

Linux

Please follow the instructions according to your linux distribution:

or directly through the binaries

Windows

Download it from here: docker-ce-desktop-windows

Read before install:

  • The current version of Docker for Windows runs on 64bit Windows 10 Pro, Enterprise and Education (1607 Anniversary Update, Build 14393 or later).
  • For older versions, try docker

Docker desktop windows configuration

  • When installing, choose for linux containers or change this later just clicking on Switch to Linux containers.

container-linux

  • Settings -> General -> Allow Expose daemon on tcp://localhost:2375 without TLS

Expose daemon

  • Settings -> Shared drivers -> Share C

Share C

Useful commands

docker build -t app .               # Create image "app" using current directory's Dockerfile
docker run app                      # Run image you just created
docker container ls -a              # List all containers
docker container rm <container id>  # Remove specified container
docker image rm app                 # Remove image created above (must remove container first)
Clone this wiki locally