Skip to content

Commit

Permalink
Add Dockerfile for running Manjaro + systemd + Docker in a sysbox con…
Browse files Browse the repository at this point in the history
…tainer.

Signed-off-by: Cesar Talledo <[email protected]>
  • Loading branch information
ctalledo committed Apr 29, 2021
1 parent 8609e2e commit 8824b57
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions manjarolinux-systemd-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# ManjaroLinux + Systemd + Docker
#
# Description:
#
# This image serves as a basic reference example for user's looking to run
# ManjaroLinux + Systemd + Docker inside a container.
#
# Usage:
#
# $ docker run --runtime=sysbox-runc -it --rm --name=syscont nestybox/manjarolinux-systemd-docker
#
# This will run systemd and prompt for a user login; the default user/password
# in this image is "admin/admin". Docker will be automatically started and user
# admin can launch inner Docker containers.

FROM nestybox/manjarolinux-systemd

RUN pacman --noconfirm -Syu \
bash-completion \
docker

RUN systemctl enable docker

RUN usermod -aG docker admin

0 comments on commit 8824b57

Please sign in to comment.