You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Aizhamal Nurmamat kyzy (JIRA)" <ji...@apache.org> on 2019/05/18 02:25:00 UTC
[jira] [Updated] (AIRFLOW-3510) DockerOperator on OSX: Mounts
denied
[ https://issues.apache.org/jira/browse/AIRFLOW-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aizhamal Nurmamat kyzy updated AIRFLOW-3510:
--------------------------------------------
Component/s: (was: docker)
> DockerOperator on OSX: Mounts denied
> ------------------------------------
>
> Key: AIRFLOW-3510
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3510
> Project: Apache Airflow
> Issue Type: Bug
> Components: operators
> Affects Versions: 1.10.1
> Reporter: Nar Kumar Chhantyal
> Assignee: Nar Kumar Chhantyal
> Priority: Major
> Labels: bug, docker
> 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)