Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Installing Docker

Cole Brokamp edited this page Feb 5, 2019 · 7 revisions

Installing

Docker can be installed on Linux, Microsoft Windows, or MacOS machines. Docker "Community Engine", or Docker CE, is the free and open source version of Docker that can be used to run DeGAUSS containers. Follow instructions specific to your operating system found on the Docker CE page on dockerhub. Docker can also be installed to cloud platforms, such as AWS or Azure.

MacOS

Microsoft Windows

Testing the Installation

To test your installation, open the Docker Quickstart Terminal Application (or a shell if using Linux). This is usually installed to your Applications or Programs folder and there is also often a shortcut created on the Desktop.

Run docker run hello-world and you should see some output describing what Docker did and that it is working correctly:

$ docker run hello-world

Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
ca4f61b1923c: Pull complete
Digest: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.
...

Notice that after asking Docker to run a container, if it does not find the image locally, it downloads it from an online repository. This is only necessary the first time you run a container from each image. Once downloaded, Docker will continue to use the same local image to create containers.

Troubleshooting Common Installation Problems

*Please consult the troubleshooting links above first. Below are issues that are commonly encountered when working with an institutional or corporate network:

  • Do not attempt to use Docker for Windows or Docker for Mac when connected to a virtual network (i.e. remoting in to a work machine from home) or when using a proxy. Docker for Windows and Mac works by communicating with a virtual machine that is run within the host operating system's native hypervisor system and these settings will cause problems.
  • If you are trying to install on Windows and receive the error message docker computer does not have VT-X/AMD-v enabled, enabling it in BIOS is mandatory when trying to startup the virtual box / Docker Quickstart Terminal, then you need to boot into your computer's BIOS settings and enable VT-X. If you are unsure how to boot into your BIOS settings try rebooting your computer and hold down F2 while it restarts. It should look something like this but will be different depending on the exact make and model of your computer.
Clone this wiki locally