Skip to content

Instantly share code, notes, and snippets.

@hackintoshrao
Created January 19, 2017 03:56
Show Gist options
  • Save hackintoshrao/68231bcf03bb0799b4b0a09f5e1c661b to your computer and use it in GitHub Desktop.
Save hackintoshrao/68231bcf03bb0799b4b0a09f5e1c661b to your computer and use it in GitHub Desktop.
Extending Minfs docker container to use Minfs.
# 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
@iamjenechka
Copy link

Hi there. Any thoughts how to use this with docker-compose, if you would like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment