Change docker storage driver on Mac OS X

I installed the dock toolbar in my Mac OS X and I need to change the docker storage driver from aufs to devicemapper because aufs is causing problems.

I found the official docker documentation and tried this explanation here , but DOCKER_OPTS="--storage-driver=devicemapper" does not work for me.

docker info still tells me Storage Driver: aufs .

I also could not find the file located in /etc/default/docker .

For the record, I need to modify it to correctly execute the CodeClimate CLI .

+4
source share
1 answer

You can use the --engine-storage-driver flag when creating a new virtual machine with a docking station to select the storage driver.

 $ docker-machine create -d virtualbox \ --engine-storage-driver devicemapper \ foobarmachine 

link docs

+2
source

All Articles