- Install Docker on Ubuntu 20
- Pull image nginx
docker pull nginx
- Running container nginx
docker run -d --name docker-nginx -p 80:80 --restart unless-stopped nginx
- Remove container if mysql & ready exist:
docker compose down
- Running docker build:
docker compose up -d --build