Saturday, March 5, 2022

Deploy Run MongoDB On Podman

 in This Tutorial you will Learn " How To Install MongoDB with Podman on Rocky Linux 8.5"

MongoDB is an open source NoSQL database management program.

Podman is a daemonless, open source, Linux native tool designed to make it easy to find, run, build, share and deploy applications using Open Container Initiative (OCI) containers and container images.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; dnf groupinstall "Development Tools" -y
dnf install podman -y
podman -v
podman pull mongo
podman images
mkdir data ; cd data
podman run --name nextgentipsmongo -d -p 27017:27017 -v $(pwd):/data/db:Z mongo
podman run --rm -it --network host mongo mongo
_________________________________________________________________________________________

No comments:

Post a Comment