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 creating Mullvad application #102

Open
daniel-huesca opened this issue Apr 21, 2023 · 1 comment
Open

Error creating Mullvad application #102

daniel-huesca opened this issue Apr 21, 2023 · 1 comment

Comments

@daniel-huesca
Copy link

daniel-huesca commented Apr 21, 2023

Hello, first of all, thank you for your work, it's been really useful.

I'm trying to docker build a Mullvad GUI app docker image to use with UNRAID (and use this image as my main VPN container) but I'm getting the following error:

[app ] System has not been booted with systemd as init system (PID 1). Can't operate.
[app ] Failed to connect to bus: Host is down

This is my Dockerfile:

FROM jlesage/baseimage-gui:debian-11
RUN apt-get update \
    && apt-get -y install \
    apt-transport-https \
    wget \
    procps \
    systemd \
    systemd-sysv \
    && wget -O mullvad-gui.deb https://mullvad.net/en/download/app/deb/latest \
    && dpkg -i ./mullvad-gui.deb \
    && rm -rf ./mullvad-gui.deb
COPY startapp.sh /startapp.sh
RUN set-cont-env APP_NAME "Mullvad-GUI"

And this is my startapp.sh:

#!/bin/sh
exec "/opt/Mullvad VPN/mullvad-vpn" %U

Can you help me out?

@jlesage
Copy link
Owner

jlesage commented May 16, 2023

This seems to be something specific to Mullvad, where it requires the use of systemd ?

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

2 participants