This guide describes how to install Docker (or Podman) to run Check NetAppPRO on various operating systems. If it is already installed please skip this page.
Install podman and enable user namespaces:
# yum install podman
# echo 10000 > /proc/sys/user/max_user_namespaces
Install podman:
# dnf install podman
Ensure no other versions of Docker are installed
apt-get remove docker docker-engine docker.io containerd runc
Update the apt
package Index and install some packages which are needed for further steps
apt-get update
apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
Add Docker’s GPG Key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
You can check the Docker GPG fingerprint via
apt-key fingerprint 0EBFCD88
9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF
Add the Docker repository for stable releases for your specfic Ubuntu Version
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
Update and install the packages
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
Add nagios user to docker group
usermod -aG docker nagios
And test your installation
docker run hello-world