How can I edit /etc/default/docker config?

How exactly have you added it to that field?

Remember that it is space separated string, not newline. Therefore I think using a double-single-quoted string there is misleading.

Also I prefer long switches in scripts and config for readability.

2 Likes