Provider used : Contabo
Never use root as main account.
Access server with ssh.
Create a user
# adduser username
Add user to sudo group
# usermod -aG sudo username
Switch to the user account
# su - username
Test if the account has sudo
sudo ls -la /root
If command succeed, user is part of sudo group !
Official documentation : https://docs.docker.com/install/linux/docker-ce/ubuntu/
/!/ Don't use port 80 and 443 to install Rancher, if not, Ingress doesn't work !
$ sudo docker run -d --restart=unless-stopped -p 880:80 -p 8443:443 rancher/rancher
Go to https://you_ip:8443 to create a password to protect your Rancher installation.