Docker 快速安装MinIO

sudo mkdir -p /app/minio/data
sudo chmod -R 777 /app/minio

docker run \
   -p 9000:9000 \
   -p 9090:9090 \
   --name minio \
   --restart=always -d \
   -v /app/minio/data:/data \
   -e "MINIO_ROOT_USER=admin" \
   -e "MINIO_ROOT_PASSWORD=admin123" \
   minio/minio server /data --console-address ":9090"
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AddPerm",
            "Effect": "Allow",
            "Principal": {
                "AWS": [
                    "*"
                ]
            },
            "Action": [
                "s3:GetObject"
            ],
            "Resource": [
                "arn:aws:s3:::bucket-name/*"
            ]
        }
    ]
}

你可能感兴趣的:(docker,linux,服务器,MinIO)