From 76c2c99b86b4b4780ba37a33720d69f71e29de21 Mon Sep 17 00:00:00 2001 From: Geert van Geest Date: Tue, 13 Apr 2021 11:45:52 +0200 Subject: [PATCH] login on linux --- docs/course_material/managing_docker.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/course_material/managing_docker.md b/docs/course_material/managing_docker.md index e0bdbe8..4989dfe 100644 --- a/docs/course_material/managing_docker.md +++ b/docs/course_material/managing_docker.md @@ -178,6 +178,13 @@ docker tag ubuntu-figlet [USER NAME]/ubuntu-figlet docker push [USER NAME]/ubuntu-figlet ``` +!!! note "If on Linux" + If you are on Linux and haven't connected to docker hub before, you will have login first. To do that, run: + + ```sh + docker login + ``` + !!! note "How docker makes money" All images pushed to dockerhub are open to the world. With a free account you can have one image on dockerhub that is private. Paid accounts can have more private images, and are therefore popular for commercial organisations. As an alternative to dockerhub, you can store images locally with [`docker save`](https://docs.docker.com/engine/reference/commandline/save/).