12/5/2019 - (last updated: 2019-12-05)

Docker requirements

Docker: the word

Word What
“Docker” Company
“Docker” Software
“Docker file” text file
“Docker image” binary file that can be launched into a container.
“Docker container” Each time the container will start in the same initial state.
“Docker repository” web site

Docker: What is it?

Platform for developers and sysadmins….

Docker as container

Swimming-pool

Environment

Environment

Getting Started

  • Find Terminal in /Applications/Utilities

  • or use Spotlight (top right magnifying glass) and start typing Terminal

Colored backgrounds

To be more easily distinguish between “where we are looking” the following colored backgrounds are useful:

Green:
Commands from local computer terminal
Blue:
Commands and output when WITHIN Docker container
Yellow:
Informational - DO NOT RUN! - commands or output examples.

Docker version

docker --version
## Docker version 19.03.5, build 633a0ea

Longer versions:

docker version
docker info

Docker login

To use Docker beyond that we need to login:

docker login

Supply you Docker username and password.

Let’s Dive into a Container!

Credits