Skip to content

Latest commit

 

History

History
71 lines (45 loc) · 3.04 KB

00_installation.md

File metadata and controls

71 lines (45 loc) · 3.04 KB

Docker Lab: Installation

Preparation

First it's a good idea to clone the git repository which contains the labs so everything's available locally.

$ cd [git repo project folder]
$ git clone https://github.com/puzzle/docker-techlab.git

Alternatively the repository can be downloaded as a zip file.

Try Docker without Installation

The page https://training.play-with-docker.com offers additional tutorials which also come with an interactive shell. The disadvantage is that you have to create an account, but if you don't want to install Docker locally, this is a great way to do the exercises in this Techlab using a Browser-based Docker shell.

To do this lab with Play with Docker:

Installation for Windows and Mac

Please follow the instructions on Docker's official documentation to install Docker CE.

When asked to use Windows container, choose NOT to.

Note: You don't have to register for a Docker Cloud account.

Proxy Configuration

If your organization has a proxy in place you have to configure it in your Docker configuration in order to be able to do docker search or docker pull.

Installation for Linux

Follow the instructions for your appropriate distribution. The recommended way of installing is using the repository, except if you already know you're going to remove the package again soon.

Unrelated to what distribution you use, also have a look at the post-installation steps. Please note however that these are optional steps and some are quite advanced, so going with the default might be the most appropriate way to go.

Docker Architecture

  • Docker is a client-server application.
  • The Docker daemon (or "Engine")
    • Receives and processes incoming Docker API requests
  • The Docker client
    • Talks to the Docker daemon via the Docker API
    • We'll use mostly the CLI embedded within the Docker binary
  • The Docker Hub Registry
    • Is a collection of public images
    • The Docker daemon talks to it via the registry API

← Overview | Getting Started →