Docker Community Forums

Share and learn in the Docker community.

MapR running on Docker


(Clemclem) #1

Hello everybody,

I’m posting this message because I plan to use MapR inside a container in Docker. But in order to install MapR, I need to have access to an unpartitionned hard drive. Is it possible to attach such a drive on a container ?
Thank you in advance.

Best regards,

Clemence


(Mitra) #2

Hi,

You can run MapR in docker container.

Run the container in the privileged mode. That way you can access the host disk drives within the container.

The other way is using the disk-file as explained in the MapR documentation : http://doc.mapr.com/display/MapR41/disksetup ( Please look at the bottom of the page)

The MapR Sandbox docker image uses the disk file.
The MapR Sandbox is there on the registry at: https://registry.hub.docker.com/u/maprtech/mapr-sandbox-base/

Hope this helps.

Thanks
Mitra.


(Clemclem) #3

Hey Mitra,

Thank you a lot, running the container in privileged mode worked perfectly !

Bye,

Clemence