wiznote

in Technique with 0 comment and 380 read

1 安装docker

2 建立wizdata的文件夹

mkdir wizdata

3 下载并启动为知笔记服务

docker run --name wiz -it -d -v ~/wizdata:/wiz/storage -v /etc/localtime:/etc/localtime -p 80:80 wiznote/wizserver

4 其他

docker stop wiz
docker rm wiz
docker run --name wiz -it -d -v ~/wizdata:/wiz/storage -v /etc/localtime:/etc/localtime -p 8000:80 wiznote/wizserver
docker start wiz
docker stop wiz
docker rm wiz
docker pull wiznote/wizserver:latest
docker run --name wiz -it -d -v ~/wizdata:/wiz/storage -v /etc/localtime:/etc/localtime -p 8000:80 wiznote/wizserver
docker exec -it wiz /bin/bash
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
exit
评论