1 拉取镜像
docker pull jumpserver/jms_all
2 运行镜像
docker run --name jms_all -d -v /opt/jumpserver/data:/opt/jumpserver/data -p 8086:80 -p 2222:2222 -e DB_HOST=24.13.10.9 -e DB_PORT=3306 -e DB_USER=root -e DB_PASSWORD=123456 -e DB_NAME=jumpserver -e REDIS_HOST=24.13.10.9 -e REDIS_PORT=6379 -e REDIS_PASSWORD=123456--privileged=true jumpserver/jms_all 备注:数据库名称jumpserver,default charset 'utf8' collate 'utf8_bin';
3 账号密码
admin/admin