diff --git a/README.md b/README.md index 866639b..bd58b3f 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,22 @@ ownCloud is an open-source file sync, share and content collaboration software t - 8080 +## Running occ commands + +Starting with `11.0.0-prealpha`, the image supports running any `occ` command +with full initialization (database, config, etc.) but without starting Apache, +by using the `occ` subcommand in `docker-compose.yml`: + +```yaml +command: ["/usr/bin/owncloud", "occ", "", ""] +``` + +Example — start the Windows Network Drive SMB listener: + +```yaml +command: ["/usr/bin/owncloud", "occ", "wnd:listen", "myhost", "myshare", "myuser", "--password-file=/run/secrets/wnd_password"] +``` + ## Environment variables None diff --git a/v24.04/Dockerfile.multiarch b/v24.04/Dockerfile.multiarch index 8b3c82b..448a528 100644 --- a/v24.04/Dockerfile.multiarch +++ b/v24.04/Dockerfile.multiarch @@ -1,4 +1,4 @@ -FROM owncloud/base:24.04@sha256:e492580f249e59b480c0036b43ec62387172d39f1225d2be75520d18c95c91c9 +FROM owncloud/base:24.04@sha256:a809b488239e2e776d7f5e99e208049d178ac8c94fa1928aa0545b08c7c0d0c3 ARG TARBALL_URL