The libreoffice/online image is compiled so that there can only be 20 max connections and 10 max open open documents. Those restrictions make the app unusable for many users. Therefore, I have compiled the project with the max connections and max open documents limits set to 100,000, which should be plenty for all but the largest organizations.
I have also included two modified versions of bundle.js (the meat of the web UI), both of which disable copy and cut. One of them disables export to pdf and downloads of text and presentation documents, while allowing pdf export for spreadsheets, and another allows pdf export for all document types. To use one of these alternative bundle.js's, create a container from the image, docker exec -it <container-id> bash into it and replace bundle.js with the desired alternative, then export and import that container and rebuild an image from the resulting image with a Dockerfile as simple as:
(loolwsd seems to do some caching.. or something.. of the bundle.js once is has started). The original bundle.js and these two alternatives are located at /usr/share/loolwsd/loleaflet/dist in the container.
Start it up like so, replacing the domain ip, ports, domain, username and password as desired:
docker run -dt -p 127.0.0.1:9980:9980 -e "domain=192\.168\.0\.9" -e "username=admin" -e "password=somethingsupersecret" --restart always --cap-add MKNOD docker.io/thedarkknight/libreoffice-online-unlimited