暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

在Docker下安装Minio【银河麒麟V10-docker测试成功】

巴韭特锁螺丝 2023-09-06
176

一、安装命令

docker search minio

    [root@localhost soft]# docker search minio
    NAME DESCRIPTION STARS OFFICIAL AUTOMATED
    minio/minio Multi-Cloud Object Storage 652 [OK]
    bitnami/minio Bitnami MinIO Docker Image 60
    minio/mc Minio Client (mc) provides a modern alternat… 37 [OK]
    bitnami/minio-client Bitnami MinIO Client Docker Image 6
    newrelic/synthetics-minion Synthetics Containerized Private Minion 5
    rancher/minio-minio 1
    ibmcom/minio 0
    ibmcom/minio-ppc64le 0
    ibmcom/minio-mc-ppc64le 0
    ibmcom/minio-mc-s390x 0
    ibmcom/minio-s390x 0
    corpusops/minio https://github.com/corpusops/docker-images/ 0
    ibmcom/minio-mc-amd64 0
    hephy/minio 0
    silintl/minio-default-server 0
    corpusops/minio-k8s-operator https://github.com/corpusops/docker-images/ 0
    corpusops/minio-mint https://github.com/corpusops/docker-images/ 0
    corpusops/minio-doctor https://github.com/corpusops/docker-images/ 0
    ibmcom/minio-amd64 0
    drud/minio-exporter 0
    truecharts/minio 0
    truecharts/minio-console 0
    truecharts/minio-mc 0
    ibmcom/minio-mc 0
    drud/minio 0

    二、下载官网镜像

    docker pull minio/minio

      [root@localhost soft]# docker pull minio/minio
      Using default tag: latest
      latest: Pulling from minio/minio
      d46336f50433: Pull complete
      be961ec68663: Pull complete
      44173c602141: Pull complete
      a9809a6a679b: Pull complete
      df29d4a76971: Pull complete
      2b5a8853d302: Pull complete
      84f01ee8dfc1: Pull complete
      Digest: sha256:d786220feef7d8fe0239d41b5d74501dc824f6e7dd0e5a05749c502fff225bf3
      Status: Downloaded newer image for minio/minio:latest
      docker.io/minio/minio:latest

      三、服务运行

        docker run -d -p 9000:9000 --name minio \
        -e "MINIO_ACCESS_KEY=admin" \
        -e "MINIO_SECRET_KEY=admin123" \
        -v home/admin/minio/data:/data \
        -v home/admin/minio/config:/root/.minio \
        minio/minio server data \
        --console-address ":9000" --address ":9090"

        四、查看运行情况并验证

          [root@localhost soft]# docker ps
          CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
          b2febe5bd54e minio/minio "/usr/bin/docker-ent…" 3 seconds ago Up 2 seconds 0.0.0.0:9000->9000/tcp, :::9000->9000/tcp minio
            [root@localhost soft]# docker logs -f minio
            WARNING: MINIO_ACCESS_KEY and MINIO_SECRET_KEY are deprecated.
            Please use MINIO_ROOT_USER and MINIO_ROOT_PASSWORD
            API: http://172.17.0.4:9090 http://127.0.0.1:9090


            Console: http://172.17.0.4:9000 http://127.0.0.1:9000


            Documentation: https://docs.min.io


            You are running an older version of MinIO released 11 months ago
            Update:
            Run `mc admin update`

            访问minio
            http://127.0.0.1:9000/

            用户名:admin
            密码:admin123

            后台界面

              版权声明:本文内容来自简书:书俊俊软件开发,遵循CC 4.0 BY-SA版权协议上原文接及本声明。
              本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。
              原文链接:https://www.jianshu.com/p/c9c637d581af
              如有涉及到侵权,请联系,将立即予以删除处理。
              在此特别鸣谢原作者的创作。
              此篇文章的所有版权归原作者所有,与本公众号无关,商业转载建议请联系原作者,非商业转载请注明出处。






              文章转载自巴韭特锁螺丝,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

              评论