Comments (2)
1. replace the content of ubuntu/sources.list
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
2.modify the DockerFile
insert after LABEL maintainer "zhonger [email protected]"
COPY ./ubuntu/sources.list /etc/apt/sources.list
RUN apt-get update
change
VOLUME [ "/opt/data" ]
3.build it
docker build . -t shuosc/dokuwiki
from docker-dokuwiki.
I am so sorry for not answering you in time.
#3 (comment)
This is because we recommended using docker-compose
to create or destroy the container.
docker-dokuwiki/docker-compose.yml
Line 11 in 39702a9
The volume
/opt/data
has been attached with local directory ./.data
in docker-compose.yml
file.
If you don‘t want use docker-compose
, you can just create the container with this command:
docker run -ti -d -v local_file_path:/opt/data -p 80:80 shuosc/dokuwiki:latest
#3 (comment)
If you want to change the sources file to Aliyun Mirror, you can just fork this repository and make changes as you like.
For me, it's not essential to change this because it does not affect normal usage.
Thank you for your use and kindful feedback!
from docker-dokuwiki.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-dokuwiki.