Git Product home page Git Product logo

tob1as / docker-minio Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 2.0 92 KB

MinIO is a Object Storage compatible with S3. - Docker Image with Alpine for amd64, arm64, arm (Raspberry Pi)

Home Page: https://hub.docker.com/r/tobi312/minio/

License: GNU Affero General Public License v3.0

Dockerfile 57.35% Shell 42.65%
dockerfile storage s3 minio objectstorage cloudstorage multiarch-images docker docker-compose k8s

docker-minio's Introduction

MinIO on x86_64 and ARM

Supported tags and respective Dockerfile links

What is MinIO?

MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads.

MinIO running on baremetal hardware, Docker and Kubernetes.

read more

MinIO

About these images:

How to use these images:

  • $ docker run --name minio -v $(pwd)/minio-data:/data:rw -p 9000:9000 -p 9001:9001 -e "MINIO_ROOT_USER=minio" -e "MINIO_ROOT_PASSWORD=minio123" -d tobi312/minio:latest server --console-address ":9001" /data

  • Environment Variables:

    • MINIO_ROOT_USER (set user)
    • MINIO_ROOT_PASSWORD (set password)
    • optional: user/group in container instead root:
      • MINIO_USERNAME and MINIO_GROUPNAME (set user and group name, example minio)
      • MINIO_UID and MINIO_GID (set ID for user and group, example 1000)
    • optional: MinIO Console behind a load balancer, proxy or k8s ingress (*)
      • MINIO_SERVER_URL
      • MINIO_BROWSER_REDIRECT_URL

More Information see official MinIO Documentation !

Docker-Compose

version: "2.4"
services:

  minio:
    image: tobi312/minio:latest
    container_name: minio
    #restart: unless-stopped
    ports:
      - "9000:9000" # Buckets
      - "9001:9001" # Console
    volumes:
      - ./minio-data:/data:rw
    environment:
      MINIO_ROOT_USER: minio
      MINIO_ROOT_PASSWORD: minio123
    command:  ["server", "--address", ":9000", "--console-address", ":9001", "/data"]
    healthcheck:
      test: ["CMD", "curl", "--fail", "http://localhost:9000/minio/health/live"]
      interval: 60s
      timeout: 10s
      retries: 3

Troubleshooting

If your container fails to start with Images that based on Alpine 3.13 and newer or newer Debian/Ubuntu on ARM devices with Raspbian/Debian 10 Buster (32 bit)...

... then update libseccomp2* to >=2.4.4 and restart the container. (Source: 1, 2, 3)

Example (wrong date):

$ docker run --rm --name testing -it alpine:3.13 date
Sun Jan  0 00:100:4174038  1900

Solution:

 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138
 echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list.d/buster-backports.list
 sudo apt update
 sudo apt install -t buster-backports libseccomp2

This Image on

docker-minio's People

Contributors

tob1as avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-minio's Issues

Error accessing the buckets, how to troubleshoot?

Hi.
I've been using a setup with a raspberry pi 2B with Portainer, Duplicati and MinIO.
Recently when I tried to check that it worked I saw this error in MinIO, when trying to browse the buckets:

Error
An error occurred, please try again
We encountered an internal error, please try again.

There are three buckets and they show a size and a number of objects on the buckets page.

And Duplicati throws an error when trying access the buckets:

Error while running Databases
MinIO API responded with message=We encountered an internal error, please try again.

So I tried to look in to it by the MinIO docker console (in Portainer), I found /opt/bin/minio but can't really run anything with it.
ls and admin gets responses like ‘ls’ is not a minio sub-command. See ‘minio --help’.

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.