“docker build” – creates new image from docker-file, –no-cache – build all commands, otherwise only changed docker file instructions will be built, non-changed will be taken from store cached at previous build

Docker machine – turns some PC (virtual or real) into host for running containers, runs instance of “machine” – the process is a platform for running containers. It is command line utility with a several commands: create, ls, stop, start, restart, rm, kill, inspect, config, ip, url, upgrade.

Docker-file – script that adjust an image before running its as a container

FROM – existing image tag

MAINTAINER – author’s mail

ONBUILD – executes a command specified at build step

RUN – command to run

USER – sets user and group

WORKDIR – sets current directory

EXPOSE – port erxposed

ADD – add files into container from some host, unpacks a tar-file

COPY – like ADD, but with no unpacking

CMD – commands that executed as container’s main process

ENTRYPOINT – like CMD but with no parameters (expected provided via run commnad)

Compose – run an application, represented by a set of containers, represented by yaml-file

“docker up” – run a dicker yaml file with definitions

“docker-compose ps” – all containers run by yaml-file

“docker-compose rm” – remove all containers represented by yaml-file

“docker-compose stop/kill” – like “docker”

“docker-compose logs” – like “docker”

“docker-compose build” – like “docker”

“docker-compose scale” – alter a number of instances of containers

Docker-machine – represents driver that allows to run a docker-daemon on different hosts

docker-swarm – cluster of machines to run a container, it can balance on basis of accessible resources (Spread algorithm) as well as on basis of custom filters (affinity, health, constraint, port, dependency), with builtin service discovery