-
Install packages
sudo apt install -y python-pip curl git pip install docker-compose
-
Install Docker
Use
sudo curl -sSL https://get.daocloud.io/docker | sh
orsudo curl -sSL https://get.docker.com | sh
More reference at: https://docs.docker.com/install/
-
Use root permission
sudo passwd root su - cd .. cd home/youruser
-
Disable processes that are using port 80
sudo lsof -t -i tcp:80 -s tcp:listen | sudo xargs kill
-
Clone sources project
git clone https://github.com/Greenhat1998/OnlineJudgeDeploy cd OnlineJudgeDeploy
-
Run docker-compose
apt install docker-compose docker-compose up -d