minio:RELEASE.2022-09-07T22-25-02Z
创建文件
vi docker-compose.yml
脚本内容如下:
version: '3' services: minio: image: minio/minio:RELEASE.2022-09-07T22-25-02Z container_name: minio ports: - 9000:9000 - 9001:9001 volumes: - /var/minio/data:/data - /var/minio/config:/root/.minio environment: MINIO_ACCESS_KEY: "minioadmin" MINIO_SECRET_KEY: "minioadmin" command: server /data --console-address ":9001" -address ":9000" restart: always
启动
docker-compose up -d
标签:compose,minio,9001,9000,docker,data From: https://www.cnblogs.com/zwh0910/p/17067621.html