Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Cannot open /proc/sys/kernel/shm failed with status: 75 #909

Open
pguinet opened this issue Jan 27, 2025 · 0 comments
Open

Error Cannot open /proc/sys/kernel/shm failed with status: 75 #909

pguinet opened this issue Jan 27, 2025 · 0 comments

Comments

@pguinet
Copy link

pguinet commented Jan 27, 2025

Hi,
With Sysbox 0.6.6 on docker host, I can run a container from image with latest docker and containerd, but I can't launch another container (typically Oracle database) inside my first container.
Server Debian 12, Docker version 27.4.1, Sysbox 0.6.6 Community.
Docker image with systemd and latest docker.

FROM ubuntu:jammy

# Set some environment
ARG TZ="Europe/Paris"
ENV LANG=C.UTF-8
ARG DEBIAN_FRONTEND="noninteractive"
ARG DEBCONF_NONINTERACTIVE_SEEN true

# Install Systemd and necessary softwares
RUN apt-get update &&                            \
    apt-get install -y --no-install-recommends   \
            ca-certificates   \
            &&                \
    apt-get update &&                            \
    ACCEPT_EULA=y                                \
    DEBIAN_FRONTEND=noninteractive               \
    apt-get install -y --no-install-recommends   \
            systemd           \
            systemd-sysv      \
            libsystemd0       \
            dbus              \
            iptables          \
            iproute2          \
            curl

# Install Docker
RUN curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh && rm get-docker.sh
# SYS-9199 : downgrade containerd.io
#RUN apt-get --reinstall install -y --allow-downgrades containerd.io=1.7.23-1
ADD https://raw.githubusercontent.com/docker/docker-ce/master/components/cli/contrib/completion/bash/docker /etc/bash_completion.d/docker.sh

# Set systemd as entrypoint.
ENTRYPOINT [ "/sbin/init", "--log-level=err" ]

Launch container from this image docker run --rm --runtime sysbox-runc --name sysbox sysbox and inside this container launch an oracle container docker run --rm container-registry.oracle.com/database/free:latest produces Error : ORA-27300: OS system dependent operation:Cannot open /proc/sys/kernel/shm failed with status: 75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant