Hands-on!
- Registry your own account on the ROMS website, to login into the forum, or to download the source code via subversion.
- Install docker and docker-compose on your personal computer (specifically for Jose Roberto, you don't have to install these packages on shelf waves, we already ask that to Eder and Ricardinho last year):
# update the current list of packages
sudo apt update
# installing packages
sudo apt install apt-transport-https ca-certificates curl software-properties-common
# adding GPG key from the official Docker repository
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# add Docker's repository to the apt source list
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
# update again
sudo apt update
# finally, install docker
sudo apt install docker-ce
# and install docker-compose:
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
- To avoid any permission issue, it is a good moment to create a docker group on your SO (again, Jose Roberto you don't have to do this step. Shelf waves is already configured to this):
# create the docker group and add your current user to it
sudo usermod -aG docker ${USER}
# checking if it works
id -nG
- Go to the dockerhub.com webpage and create an account. Next, type in your terminal:
sudo docker login
- and write your username and password. Finally, check if your docker is running with:
# type to build and run the container
sudo docker pull hello-world
# type to access a new container. The 'hello-world' is just a test container to check if everything is installed and running
sudo docker run hello-world
- Installing subversion and git, that will be used in the next tutorial:
# to install subversion and git
sudo apt-get install subversion git
References