Container Runtime Installation for NsmBox
Raspberry Pi OS, Ubuntu 20.04
First install Docker using the docker.io
package:
sudo apt install docker.io
The to run Docker as a non-root user, add that user to the docker
group:
sudo usermod -aG docker pi
Then logout and back in. Using the above commands the pi
user can
now run Docker without sudo
.
Fedora 34 (Docker)
Docker (aka Moby) is available in the default Fedora repositories and can be installed and enabled with the following commands:
dnf install moby-engine
systemctl enable --now docker
To enable running of Docker as a non-root user, users can be added to
the docker
group, for example:
sudo usermod -aG docker <USERNAME>
Docker also has their own instructions for installing Docker on Fedora: https://docs.docker.com/engine/install/fedora/
CentOS 8, RHEL 8, Fedora (Podman)
RHEL 8 and derivatives do not provide an easy way to get started with Docker, but Podman is available in the default repos. You can still use Docker, but installation instructions are not provided here.
To install Podman:
sudo dnf install podman
The main issue with Podman and an application like Suricata is that
you must run the easy-suricata
program as root. For example:
sudo ./easy-suricata
Or switch to root first.