
Create the ownCloud container with host volumes $ docker run -d -name owncloud \ volume /path/to/mariadb-persistence:/bitnami/mariadb \

Create a MariaDB container with host volume $ docker run -d -name mariadb \ Mount host directories as data volumes using the Docker command line Step 1: Create a network (if it does not exist) $ docker network create owncloud-network + - /path/to/owncloud-persistence:/bitnami/owncloud + - /path/to/mariadb-persistence:/bitnami/mariadb This requires a minor change to the docker-compose.yml file present in this repository: mariadb: Mount host directories as data volumes with Docker Compose

Alternatively you can make use of volume plugins to host the volume data. To avoid inadvertent removal of volumes, you can mount host directories as data volumes. The ownCloud application state will persist as long as volumes are not removed. The above examples define the Docker volumes named mariadb_data and owncloud_data. Additionally you should mount a volume for persistence of the MariaDB data]( ). If the mounted directory is empty, it will be initialized on the first run. To avoid this loss of data, you should mount a volume that will persist even after the container is removed.įor persistence you should mount a directory at the /bitnami/owncloud path. If you remove the container all your data will be lost, and the next time you run the image the database will be reinitialized. volume owncloud_data:/bitnami/owncloud \Īccess your application at Persisting your application env OWNCLOUD_DATABASE_NAME=bitnami_owncloud \ env OWNCLOUD_DATABASE_PASSWORD=bitnami \ env OWNCLOUD_DATABASE_USER=bn_owncloud \ Step 3: Create volumes for ownCloud persistence and launch the container $ docker volume create -name owncloud_data Step 2: Create a volume for MariaDB persistence and create a MariaDB container $ docker volume create -name mariadb_data If you want to run the application manually instead of using docker-compose, these are the basic steps you need to run: Step 1: Create a network $ docker network create owncloud-network Run the application using it as shown below: $ curl -sSL > docker-compose.yml The main folder of this repository contains a functional docker-compose.yml file. We'll use the Bitnami Docker Image for MariaDB for the database requirements. OwnCloud requires access to a MySQL or MariaDB database to store information. $ docker build -t bitnami/owncloud:latest '' If you wish, you can also build the image yourself. You can view the list of available versions in the Docker Hub Registry. To use a specific version, you can pull a versioned tag. The recommended way to get the Bitnami ownCloud Docker Image is to pull the prebuilt image from the Docker Hub Registry. Subscribe to project updates by watching the bitnami/owncloud GitHub repo. Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags in our documentation page. Supported tags and respective Dockerfile links

The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
BITNAMI OWNCLOUD ENABLE HTTPS ON LOCAL NETWORK SOFTWARE
Trademarks: This software listing is packaged by Bitnami. It grants data privacy, synchronization between devices, and file access control.

OwnCloud is an open source content collaboration platform used to store and share files from any device. More information here: ownCloud packaged by Bitnami What is ownCloud? Please follow bitnami/containers to keep you updated about the latest Bitnami images. In order to unify the approaches followed for Bitnami containers and Bitnami Helm charts, we are moving the different bitnami/bitnami-docker- repositories to a single monorepo bitnami/containers.
