makeporngreatagain.pro
yeahporn.top
hd xxx

Selecting a Storage Driver in Docker

175
  1. This lab was performed on a CentOS 7 server running Docker CE
  2. Get the current storage driver:
    docker info
  3. Set the storage driver explicitly by providing a flag to the Docker daemon:
    sudo vi /usr/lib/systemd/system/docker.service
  4. Edit the ExecStart line, adding the --storage-driver devicemapper flag:
    ExecStart=/usr/bin/dockerd --storage-driver devicemapper ...
  5. After any edits to the unit file, reload Systemd and restart Docker:
    sudo systemctl daemon-reload
    sudo systemctl restart docker
  6. We can also set the storage driver explicitly using the daemon configuration file. This is the method that Docker recommends. Note that we cannot do this and pass the --storage-driver flag to the daemon at the same time:
    sudo vi /etc/docker/daemon.json
  7. Set the storage driver in the daemon configuration file:
    {
      "storage-driver": "devicemapper"
    }
  8. Restart Docker after editing the file. It is also a good idea to make sure Docker is running properly after changing the configuration file:
    sudo systemctl restart docker
    sudo systemctl status docker

Comments are closed, but trackbacks and pingbacks are open.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.