Need to run the next command:

curl -sSL https://get.docker.com | sh

After installation need to execute sudo usermod -aG docker $USER and relogin.