Deploy a mongodb server through a docker container using one command
If you run linux you can install docker using this commandline
sudo apt install-get docker.io
You may also get issues connecting the docker service.
The problem is that you need to add the current user into the docker group so that they can run the docker
command without appending sudo
# Create docker group
sudo groupadd docker
# Add user to docker group
sudo usermod -aG docker ${USER}
#RE-authenticate user
su -s ${USER}
sudo apt install -y docker-compose
git clone https://github.com/bengabp/MongodbDocker.git
cd MongodbDocker/
docker-compose up -d --build