Before installing prometheus

Keep in mind — install docker-desktop on your machine or on your server.

The process is very simple to run the container, keep something in mind about the configuration

Docker run — To run docker
— name : Name of your container
-d : to run in background
-p : port of your computer that will connect to your container (9090:9090)
— image name: prom/prometheus

--

--

Hello Everyone!!! Happy New Year!!! Happy 2021!!!

As everyone knows and still were very afraid, afraid of the end of Docker in Kubernetes. I will show podman first.
Project that is very simple to replace the docker.

Other Distroshttps://podman.io/getting-started/installation

Using WSL2

Add the Podman PPPA and install Podman

. /etc/os-release sudo sh -c “echo ‘deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${NAME}_${VERSION_ID}/ /’ > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list” wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${NAME}_${VERSION_ID}/Release.key -O Release.key

sudo apt-key add — < Release.key

sudo apt-get update -qq

sudo apt-get -qq -y install podman

sudo mkdir -p /etc/containers

echo -e “[registries.search]\nregistries = [‘docker.io’, ‘quay.io’]” | sudo tee /etc/containers/registries.conf

--

--