Giter VIP home page Giter VIP logo

Comments (2)

berggy avatar berggy commented on July 19, 2024

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.

zhonger avatar zhonger commented on July 19, 2024

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.

- ./.data:/opt/data

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.