Overview
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
Solution
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.
- Open /etc/default/grub in an editor such as vim, and add
rootflags=pquotato the end ofGRUB_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 rd.shell=0 rootflags=pquota" - After saving the file, run
sudo grub2-mkconfig -o /boot/grub2/grub.cfg. - Reboot the system by running
sudo reboot. - After rebooting, try running the CircleCI cli command again.
Comments
Article is closed for comments.