DEV Community

Dbaport
Dbaport

Posted on

Easy way to Install Docker on Ubuntu

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 $(lsb_release -cs) stable"
sudo apt-get update
sudo apt install docker.io - For Official Ubuntu Repositories
--------next step ->>>
sudo docker ps
sudo chmod 777 /var/run/docker.sock
sudo docker container ls
sudo docker image ls
sudo docker run hello-world - for normal test
docker-compose up
project setup according to developer:-
mvn openmrs-sdk:setup -DserverId=dserver1 -Ddistro=nwhdistribution-package:1.0.3-SNAPSHOT
Wait untill finish

Top comments (0)