docker安装常用服务器
目录
MySQL
指令:
docker run --name mysql8 -p 3306:3306 -v /vloume/mysql8/data:/var/lib/mysql -v /vloume/mysql8/conf:/etc/mysql/conf.d -e MYSQL_ROOT_PASSWORD=123456 -d mysql:8.0
Jenkins
指令:
docker run -d -u root -p 9010:8080 -p 50000:50000 -v /vloume/jenkins/jenkins_home:/var/jenkins_home jenkinsci/blueocean
Redis
指令:
docker run -p 6379:6379 -v /vloume/redis3.2/data:/data -d redis:3.2 redis-server --appendonly yes --requirepass "该redis容器密码"