1.官网
- https://www.dokuwiki.org/dokuwiki
2.Docker安装文档 - https://hub.docker.com/r/linuxserver/dokuwiki
3.步骤 - 镜像拉取
docker pull linuxserver/dokuwiki
- docker-compose
version: "2.1"
services:
dokuwiki:
image: lscr.io/linuxserver/dokuwiki:latest
container_name: dokuwiki
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
volumes:
- /path/to/appdata/config:/config
ports:
- 80:80
-443:443
restart: unless-stopped
- docker cli 命令安装
docker run -d
--name=dokuwiki
-e PUID=1000
-e PGID=1000
-e TZ=Asia/Shanghai
-p 8000:80
-p 8443:443
-v /opt/dokuwiki:/config
--restart unless-stopped
lscr.io/linuxserver/dokuwiki:latest