shuosc / docker-dokuwiki Goto Github PK
View Code? Open in Web Editor NEWDokuwiki Dockerlize
Home Page: https://hub.docker.com/r/shuosc/dokuwiki/
License: MIT License
Dokuwiki Dockerlize
Home Page: https://hub.docker.com/r/shuosc/dokuwiki/
License: MIT License
Hi,
when i create the container, the docker gives the following error:
docker: Error response from daemon: failed to create shim: OCI runtime create failed: invalid mount {Destination:[ Type:bind Source:/docker/app/volumes/0848ec46c970b30b2b209ea2dda8cb57f5bff3c0264f39b28b64aca80b54207a/_data Options:[rbind]}: mount destination [ not absolute: unknown.
This looks like moby/moby#42480
But when i tried to build the image with modified DockerFile
-VOLUME [ '/opt/data' ]
+VOLUME [ "/opt/data" ]
the build failed...
Here is my docker version:
Client:
Version: 20.10.7
API version: 1.41
Go version: go1.13.8
Git commit: 20.10.7-0ubuntu1~18.04.1
Built: Wed Aug 4 22:43:25 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.7
API version: 1.41 (minimum version 1.12)
Go version: go1.13.8
Git commit: 20.10.7-0ubuntu118.04.118.04.2
Built: Wed Aug 4 19:22:59 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.5.2-0ubuntu1
GitCommit:
runc:
Version: 1.0.0rc95-0ubuntu118.04.2
GitCommit:
docker-init:
Version: 0.19.0
GitCommit:
我直接进容器改了 /etc/php/7.0/cli/php.ini
中的两个字段最大上传还是2M
Hi,
I'm a security researcher. Thank you for providing this useful docker image! After I set it up, I found your docker image disclose some sensitive directories and files to the public:
/inc/
/bin/
/vendor/
To make things worse, PUT and DELETE http methods on these files are open to outside, which means they can be arbitrarily changed by outside attackers if they want.
These files should not be exposed as warned in https://www.dokuwiki.org/security.
bin/
directory contains executables that may be exploited by attackers if they get its contents.Would it be better to block these accesses in your docker image? Thanks!
Best,
-ct
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.