diff --git a/Dockerfile.cockpit b/Dockerfile.cockpit index acefffe..9713c97 100644 --- a/Dockerfile.cockpit +++ b/Dockerfile.cockpit @@ -10,15 +10,16 @@ # Install a shell so we can log in and check the container RUN apt-get install -y bash - # Install apache RUN apt-get install -y apache2 -RUN systemctl enable apache2 # Install cockpit RUN apt-get install -y cockpit cockpit-docker -RUN systemctl enable cockpit.socket +# Enable the services +RUN apt-get install -y systemctl +RUN systemctl enable apache2 +RUN systemctl enable cockpit.socket # Add a user RUN adduser jryland