How to resolve error: "--storage-opt is supported only for overlay over xfs with 'pquota' mount option" when running jobs locally with the cli


When running the CircleCI cli command `circleci local execute --job <jobname>` locally, you may run into a similar error to the following:

Error: error starting container cimg/base:stable: Error response from daemon: --storage-opt is supported only for overlay over xfs with 'pquota' mount option


You can resolve this error by modifying /etc/default/grub.

Warning : Please be careful when modifying /etc/default/grub as making a mistake could result in your system not booting up.

  1. Open /etc/default/grub in an editor such as vim, and add rootflags=pquota to the end of GRUB_CMDLINE_LINUX_DEFAULT=.
    Example: GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 nvme_core.io_timeout=4294967295 rd.emergency=poweroff rootflags=pquota"
  2. After saving the file, run sudo grub2-mkconfig -o /boot/grub2/grub.cfg.
  3. Reboot the system by running sudo reboot.
  4. After rebooting, try running the CircleCI cli command again.

Additional Resources: 

Was this article helpful?
1 out of 6 found this helpful



Article is closed for comments.