sudo apt-get install Docker.io
docker run -p 9000:9000 minio/minio:latest
docker commit <running_minio_container_id> minio/my-minio
docker stop <running_minio_container_id>
docker create -v /export --name minio-export minio/my-minio /bin/true
You can then use the --volumes-from
flag to mount the /export
volume in another container.
docker run -p 9000:9000 --volumes-from minio-export --name minio1 minio/my-minio