docker 镜像
修改/etc/docker/daemon.json
(不存在就新建)
"registry-mirrors": ["https://sftc64t1.mirror.aliyuncs.com"]
docker run
安装命令:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| streamsets docker run --restart on-failure -p 18630:18630 -d --name sdc streamsets/datacollector
pgsql docker run --name postgres -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres:9.5.24-alpine
jenkins docker run --restart=always --name jenkins -p 18080:8080 -p 50000:50000 -v /root/docker/jenkins:/var/jenkins_home jenkins/jenkins:latest
bitwarden 安装命令: docker run \ -itd \ -e PGID=1000 \ -e PUID=1000 \ --name='bitwardenrs' \ --net='你的自定义网络名称' \ -e TZ="Asia/Shanghai" \ -e 'SERVER_ADMIN_EMAIL'='你的email' \ -e 'SIGNUPS_ALLOWED'='false' \ -e 'INVITATIONS_ALLOWED'='true' \ -e 'WEBSOCKET_ENABLED'='true' \ -e 'ADMIN_TOKEN'='你的token' \ -p '8086:80/tcp' \ -v '/opt/docker/appdata/bitwarden':'/data':'rw' 'bitwardenrs/server:latest'
token生成命令: openssl rand -base64 48
|