[ https://issues.apache.org/jira/browse/AIRFLOW-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ash Berlin-Taylor resolved AIRFLOW-3510. ---------------------------------------- Resolution: Duplicate Duplicate of AIRFLOW-1381 which has an abandoned PR - if you want to pick it up and open a new PR that would be ace. > DockerOperator on OSX: Mounts denied. The path /var/folders/mk/xxx is not > shared from OS X and is not known to Docker.\r\nYou can configure shared > paths from Docker -> Preferences... -> File Sharing. > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AIRFLOW-3510 > URL: https://issues.apache.org/jira/browse/AIRFLOW-3510 > Project: Apache Airflow > Issue Type: Bug > Components: docker, operators > Affects Versions: 1.10.1 > Reporter: Nar Kumar Chhantyal > Assignee: Nar Kumar Chhantyal > Priority: Major > Labels: bug > Fix For: 1.10.2 > > > {{I get this when using DockerOperator on OSX}} > {code:java} > Mounts denied: \r\nThe path > /var/folders/mk/_n3w1bts11bg3wvy1ln5d7c4k9_mgh/T/airflowtmpj94b7r9v\r\nis not > shared from OS X and is not known to Docker.\r\nYou can configure shared > paths from Docker -> Preferences... -> File Sharing.\r\nSee > https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.\r\n.' > {code} > {{This is well known issue with Docker for Mac: > [https://stackoverflow.com/questions/45122459/docker-mounts-denied-the-paths-are-not-shared-from-os-x-and-are-not-known]}} > {{Solution mentioned doesn't work because it always creates directory with > cryptic name like:}} > {code:java} > var/folders/mk/_n3w1bts11bg3wvy1ln5d7c4k9_mgh/T/airflowtmpj94b7r9v{code} > Solution could be to pass directory name to TemporaryDirectory. I will send a > patch later. > ` -- This message was sent by Atlassian JIRA (v7.6.3#76005)