docker安装bitwarden
13 10 月, 2022 | 添加评论
1.安装docker
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun #安装docker
systemctl enable docker #docker设为开机自启动
systemctl start docker
2.安装bitwarden
sudo docker run -d --name bitwardenrs \
--restart unless-stopped \
-e SIGNUPS_ALLOWED=true \
-e WEBSOCKET_ENABLED=true \
-v /opt/appdata/bitwarden/data/:/data/ \
-p 8080:80 \
-p 3012:3012 \
vaultwarden/server:latest
3.删除docker
docker ps -a
docker stop CONTAINER ID
docker rm CONTAINER ID
docker ps -a
docker images
docker rmi IMAGE ID
【您或许还喜欢...】