- sudo apt update
- sudo apt install apt-transport-https ca-certificates curl * software-properties-common
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | * sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
- sudo apt update
- apt-cache policy docker-ce
- sudo apt install docker-ce
source: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04
- docker container run --publish --detach --name webhost nginx
- docker container logs webhost