-
Notifications
You must be signed in to change notification settings - Fork 9
Installing Docker
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.
- 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. - Do not attempt to use Docker Toolbox when connected to a virtual network (i.e. remoting in to a work machine from home) or when using a proxy. Docker Toolbox works by communicating with a virtual machine and these settings will cause problems.
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.