Notes taken by Horeb S.

Table of contents


Introduction and requirements

Setting-up Docker

On Windows, itโ€™s recommended to use Git Bash (MinGW) or Windows Subsystem for Linux (WSL) to run Docker code. On Linux, we can use native terminal.

Install and Run docker

First of all, we need to install Docker if it was not done.

๐Ÿ”— Link to the installation page of Docker

Once itโ€™s installed, we need to see if itโ€™s working correctly by running in the terminal docker run hello-world

This should output something like below ๐Ÿ‘‡, meaning that Docker works.

image.png

<aside> โš ๏ธ

Remember to add sudoif you encounter permission denied errors.

</aside>

We can run another command, docker run -it ubuntu bash, where it means interactive mode. ubuntu is the container we are running, bashis the command we are running.