Getting Started
SUSE Linux Base Container Images (SUSE Linux BCI) are available from the SUSE Registry. Use it like any other OCI-compatible container image.
To use SUSE Linux BCI Base from the command line, simply run from your preferred container runtime:
$ docker run --rm -it registry.suse.com/bci/bci-base:latest grep '^NAME' /etc/os-release
NAME="SLES"$ podman run --rm -it registry.suse.com/bci/bci-base:latest grep '^NAME' /etc/os-release
NAME="SLES"$ nerdctl run --rm -it registry.suse.com/bci/bci-base:latest grep '^NAME' /etc/os-release
NAME="SLES"To use SUSE Linux BCI Base in a Dockerfile, do the following:
FROM registry.suse.com/bci/bci-base:latest
RUN zypper --non-interactive install python3
CMD ["python3", "-c", "print('Hello SUSE Linux BCI!')"]Build the container image using your preferred container runtime:
docker build -t my-app .podman build -t my-app .nerdctl build -t my-app .Run the container image you built using your preferred container runtime:
docker run -it --rm my-apppodman run -it --rm my-appnerdctl run -it --rm my-app