今天把自己安装doccano的过程分享出来:

sudo apt install docker-compose

把doccano镜像拉下来:

sudo docker pull chakkiworks/doccano

然后运行:

sudo docker run -d --rm --name doccano \
-e "ADMIN_USERNAME=admin" \
-e "ADMIN_EMAIL=admin@example.com" \
-e "ADMIN_PASSWORD=password" \
-p 8000:8000 chakkiworks/doccano

就完成了,在浏览器里面输入:

http://127.0.0.1:8000/login/

就可以登录了,用户名是:admin 密码是:password

参考文献

[1].chakki-works/doccano. ​​https://github.com/chakki-works/doccano​