The correct path is used in docker-compose template: - "{{ ca_trust_dir +':/etc/pki/ca-trust/source/anchors:ro' }}"