Managing Data Operating System
Also available as:
PDF
loading table of contents...

Configure Docker

Edit the docker daemon.json file and add the required options.

After Docker is installed, the following is the minimum recommended configuration. Note that configuring the storage driver is not included. This should be added after reviewing the storage driver options.

  • Edit /etc/docker/daemon.json and add the following options:
    
     {
            "live-restore" : true,
            "debug" : true
     }
                            
                        
  • As previously noted, ensure that Docker is using the cgroupfs cgroupdriver option if enabled YARN cgroups support.
    vi /usr/lib/systemd/system/docker.service

    Find and fix the cgroupdriver:

    --exec-opt native.cgroupdriver=cgroupfs \