Correct Way to Install Docker & Portainer on openSUSE with SELinux | Fix Portainer Issues

Опубликовано: 24 Май 2026
на канале: GumShoe dot tech
176
8

Opensuse Playlist:    • OpenSUSE  

Install Portainer: docker run -d --privileged -p 9443:9443 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

If you’ve been struggling to get Portainer running on openSUSE with SELinux, this video will guide you through the correct way to install Docker and Portainer while ensuring proper SELinux configuration. Many users transitioning from AppArmor to SELinux face permission issues, container runtime errors, or blocked services. This step-by-step tutorial will help you set up everything correctly, so you can securely manage your containers without unexpected failures.

Moving from AppArmor to SELinux on openSUSE offers several advantages, including finer-grained access control, better logging, and enhanced security enforcement for containerized applications. SELinux provides Mandatory Access Controls (MAC), ensuring that even if a container is compromised, it remains restricted in its actions. Unlike AppArmor, which uses profile-based security, SELinux enforces policies dynamically, making it more adaptable to complex workloads and enterprise environments.

By following this guide, you’ll not only fix Portainer-related SELinux issues but also set up a more robust and secure containerization environment. With proper policy management, your Docker and Portainer setup will run smoothly while maintaining strict security measures. Whether you're a sysadmin or a home server enthusiast, implementing SELinux correctly will improve the security and reliability of your system. Watch the video to get started!

Chapters:
0:00 Intro
0:09 Boring Stuff
0:54 Install Portainer Wrong (Docker Correct)
2:54 Start Docker on openSUSE
4:42 Portainer the Correct way on SELinux
4:44 User & Group Administration
6:43 Install Portainer --Privileged