Created
January 19, 2017 03:56
-
-
Save hackintoshrao/68231bcf03bb0799b4b0a09f5e1c661b to your computer and use it in GitHub Desktop.
Extending Minfs docker container to use Minfs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fetch code. | |
$ go get github.com/minio/minfs | |
# cd to directory. | |
$ cd $GOPATH/src/github.com/minio/minfs | |
# build the docker container for Minfs. | |
$ docker build minio/minfs . | |
# Run Minfs Docker container. | |
# applications should extend this container and shared `/minfs`. | |
$ docker run --rm --cap-add SYS_ADMIN --cap-add MKNOD --device=/dev/fuse \ | |
--security-opt apparmor:unconfined \ | |
-e MINFS_ACCESS_KEY=Q3AM3UQ867SPQQA43P2F -e MINFS_SECRET_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG \ | |
minio/minfs https://play.minio.io:9000/rao /minfs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there. Any thoughts how to use this with docker-compose, if you would like.