Public Repository

Last pushed: a year ago
Short Description
owncloud 9.1.6-1.1, php7.0 7.0.18-0ubuntu0.16.04.1, apache2 2.4.18-2ubuntu3.2
Full Description

Standard ownCloud server (9.1.6) with internal sqlite db, build on top of Ubuntu 16.04 with Apache2 (2.4.18) and php7 (7.0.8). The ssl site is enabled using snakeoil certificates, entrypoint is "apache2 -D FOREGROUND -e info".

Run container with following command:

"docker run -d -p 80:80 -p 443:443 dmaligin/owncloud-9.1.6"


FROM ubuntu:latest
RUN apt-get update
RUN apt-get install wget ssl-cert -y
RUN echo 'deb /' > /etc/apt/sources.list.d/owncloud.list
RUN wget -qO - | apt-key add -
RUN apt-get remove --purge wget -y
RUN apt-get update
RUN apt-get install owncloud -y --allow-unauthenticated
RUN a2enmod ssl
RUN cd /etc/apache2/sites-available &&\
sed -i 's/\/var\/www\/html/\/var\/www\/owncloud/g' 000-default.conf &&\
sed -i 's/\/var\/www\/html/\/var\/www\/owncloud/g' default-ssl.conf
RUN a2ensite default-ssl
RUN make-ssl-cert generate-default-snakeoil
EXPOSE 80 443
CMD ["-D", "FOREGROUND", "-e", "info"]
ENTRYPOINT ["apachectl"]

Docker Pull Command