Docker好用的容器

绘图工具 drawio

1
docker run -d --name=drawio -p 9090:8080 -v E:/Docker/drawio:/usr/local/tomcat/webapps/draw/js/ jgraph/drawio

docker run -d –name camunda -p 8080:8080 -e DB_DRIVER=com.mysql.jdbc.Driver -e DB_URL=”jdbc:mysql://192.168.2.8:3310/camunda?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true” -e DB_USERNAME=root -e DB_PASSWORD=nieqiang@01 -e WAIT_FOR=192.168.2.8:3310 camunda/camunda-bpm-platform:7.17.0

Docker安装CentOS7

命令

安装
1
2
docker run --name centos7 -d -p 50002:22 --privileged centos:centos7 /usr/sbin/init
docker run --name centos7 -d -p 22:22 --privileged centos:centos7 /usr/sbin/init
阅读更多

Docker搭建Minio

命令

1
docker run -p 9000:9000 -p 9090:9090 --name minio -e "MINIO_ACCESS_KEY=minio" -e "MINIO_SECRET_KEY=password" -e "TZ=Asia/Shanghai" -v E:/Docker/minio-RELEASE.2023-06-02T23-17-26Z/data/:/data/ -v E:/Docker/minio-RELEASE.2023-06-02T23-17-26Z/config/:/root/.minio -d --restart=always minio/minio:RELEASE.2023-06-02T23-17-26Z server /data --console-address ":9090" -address ":9000"

访问http://127.0.0.1:9000