Last active
October 1, 2022 20:27
-
-
Save justinc1/34011567c24e1871a3e8dc1f73419d8e to your computer and use it in GitHub Desktop.
Run docker in FC36 container using nestybox as dind alternative
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/nestybox/sysbox/blob/master/docs/developers-guide/build.md | |
# https://github.com/zaunerc/codesandbox/blob/master/running-systemd-inside-a-docker-container/Dockerfile | |
# | |
# docker build -t fc36-dockerd . | |
# docker run --runtime=sysbox-runc --rm -it --hostname my_cont -d fc36-dockerd | |
FROM fedora:36 | |
RUN dnf -y install systemd | |
RUN dnf -y install dnf-plugins-core | |
RUN dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo | |
RUN dnf -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin | |
RUN systemctl enable docker | |
# RUN systemctl start docker | |
RUN yum -y install procps-ng vim nano less | |
STOPSIGNAL SIGRTMIN+3 | |
CMD [ "/sbin/init" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment