Force fuse-overlayfs storage (faster than vfs)

This commit is contained in:
Anthony Rose 2023-04-03 12:59:30 +01:00
parent a8cb938eb6
commit 4094224b69
3 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,5 @@
[storage]
driver = "overlay"
[storage.options.overlay]
mount_program = "/usr/bin/fuse-overlayfs"

View file

@ -59,3 +59,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ ansible_env.XDG_CONFIG_HOME }}/powershell" path: "{{ ansible_env.XDG_CONFIG_HOME }}/powershell"
state: directory state: directory
- name: Create $XDG_CONFIG_HOME/containers
ansible.builtin.file:
path: "{{ ansible_env.XDG_CONFIG_HOME }}/containers"
state: directory

View file

@ -75,3 +75,7 @@
ansible.builtin.copy: ansible.builtin.copy:
src: user-dirs.dirs src: user-dirs.dirs
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/user-dirs.dirs" dest: "{{ ansible_env.XDG_CONFIG_HOME }}/user-dirs.dirs"
- name: Create $XDG_CONFIG_HOME/containers/storage.conf
ansible.builtin.copy:
src: storage.conf
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/containers/storage.conf"