Change storage driver for Docker on OS X

前端 未结 2 891
时光取名叫无心
时光取名叫无心 2020-12-15 11:00

This is basically a follow-up to this question, but now since the OS X Docker no longer needs Docker Toolbox (i.e. no longer needs VirtualBox), I\'m totally lost how to swit

2条回答
  •  再見小時候
    2020-12-15 11:21

    Matt is correct that the default Docker-for-Mac kernel doesn't support devicemapper, but in general, there's a better way to change the daemon options:

    Start Docker for Mac. Click the whale in the menu bar, then click Preferences

    Click

    Click Advanced and provide the JSON for customizing your daemon settings.

    Then click Apply & Restart, and check the change:

    $ docker info | grep Stor
    Storage Driver: overlay2
    

提交回复
热议问题