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. $ docker run -d -name owncloud \ -p 8080:8080 -p 8443:8443 \ -env ALLOW_EMPTY_PASSWORD=yes \ -env OWNCLOUD_DATABASE_USER=bn_owncloud \ -env OWNCLOUD_DATABASE_PASSWORD=bitnami \ -env OWNCLOUD_DATABASE_NAME=bitnami_owncloud \ -network owncloud-network \ -volume owncloud_data:/bitnami/owncloud \ bitnami/owncloud:latestĪccess your application at Persisting your application $ docker volume create -name owncloud_data 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 Bitnami container images are released on a regular basis with the latest distribution packages available.You can use DOCKER_CONTENT_TRUST=1 to verify the integrity of the images. All Bitnami images available in Docker Hub are signed with Docker Content Trust (DCT).All our images are based on minideb a minimalist Debian based container image which gives you a small base container image and the familiarity of a leading Linux distribution.Bitnami containers, virtual machines and cloud images use the same components and configuration approach - making it easy to switch between formats based on your project needs. With Bitnami images the latest bug fixes and features are available as soon as possible.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |