From d84c1325ccad20ec32df8ecc8434431e23718c84 Mon Sep 17 00:00:00 2001 From: FennecTECH Date: Fri, 24 May 2024 15:16:15 -0500 Subject: [PATCH] Update readme-vars.yml Adding :Z to the -v parameter will cause docker to automaticly relabel the specified files to the proper permissions eliminating permission denied errors https://stackoverflow.com/questions/35218194/what-is-z-flag-in-docker-containers-volumes-from-option --- readme-vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme-vars.yml b/readme-vars.yml index bda6a4d..18ac49a 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -22,7 +22,7 @@ param_env_vars: - {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."} param_usage_include_vols: true param_volumes: - - { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files" } + - { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config:Z", desc: "Persistent config files" } param_usage_include_ports: false param_device_map: false cap_add_param: false