Docker imagen question

Hi, if I create a docker container of opensuse, could I just execute the command “docker exe susecont sh” and follow this instructions?

Will it works as if it was a normal virtual machine been used vía ssh?

I am planning to use this image

docker pull opensuse/leap:15.6

Docker is not strictly a virtualization technology (it shares some features with it), but one of the main differences is that it shares a kernel with the host.

The image you’re looking at is intended to be used as a base image for other images, if you just run it, it will exit.

You could try using distrobox, but systemd units don’t run in that environment (it’s treated as a chroot environment), and unless you set it up to run as root, you can’t just use ‘su’ or ‘sudo’ to become root.

Alternatively, you could just use the freeradius server docker image provided by the freeradius project on Dockerhub.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.