Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 2.23 KB

README_PREP.md

File metadata and controls

74 lines (47 loc) · 2.23 KB

Preparation Material for Session 02

Version Control with Git

In case you did not configure your Git installation already, do so as described in First-Time Git Setup

In particular, configure your username, email address, and command line editor:

$ git config --global user.name "<Your Name>"
$ git config --global user.email <yourname>@itu.dk

In case you are not into using VI as editor, you might want to choose nano

$ git config --global core.editor nano

Setup Docker

Install Docker and Docker Compose to your computer.

Docker

Install Docker as for example like this:

sudo apt-get update
sudo apt install -y docker.io

Check if the Docker engine is up and running:

sudo systemctl status docker

To be able to run docker commands as your current user, it has to be added to the respective group.

sudo usermod -aG docker ${USER}

With the following, double check that your user is in the docker group.

su - ${USER}
id -nG
exit

The above is adapted from the official documentation: https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

Docker Compose

sudo apt install -y docker-compose-v2