Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Failed to Mount Local Volume During Quick Start Guide Execution #349

Closed
1 task done
chukei2 opened this issue Oct 7, 2024 · 2 comments · Fixed by #356
Closed
1 task done

[BUG] Failed to Mount Local Volume During Quick Start Guide Execution #349

chukei2 opened this issue Oct 7, 2024 · 2 comments · Fixed by #356
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@chukei2
Copy link

chukei2 commented Oct 7, 2024

Is this a possible security vulnerability?

  • This is NOT a possible security vulnerability

Describe the bug

When following the quick start guide in the Polaris catalog document (https://polaris.io/#section/Quick-Start/Deploying-Polaris) after cloning the repository, the following error occurs:

Error response from daemon: failed to mount local volume: mount /host_mnt/Users//documents/polaris/regtests/output:/var/lib/docker/volumes/polaris_local_output/_data, flags: 0x1000: no such file or directory

To Reproduce

Follow the quick start guide in the Polaris catalog document (https://polaris.io/#section/Quick-Start/Deploying-Polaris).

  1. cd ~git
    clone https://github.com/apache/polaris.git
  2. brew install --cask docker
  3. cd ~/polaris
    brew install openjdk@21 jenv
    jenv add $(brew --prefix openjdk@21)
    jenv local 21
  4. cd ~/polaris' 'docker compose -f docker-compose.yml up --build

Actual Behavior

The process fails with the error message indicating that the local volume could not be mounted because the specified directory does not exist.

Expected Behavior

Docker should start up without any errors.

Additional context

image

System information

OS: macOS
Polaris catalog version: Latest
Cloud service used: AWS S3

@chukei2 chukei2 added the bug Something isn't working label Oct 7, 2024
@adutra
Copy link
Contributor

adutra commented Oct 7, 2024

I could easily reproduce, FYI.

@eric-maynard eric-maynard added the good first issue Good for newcomers label Oct 7, 2024
@MonkeyCanCode
Copy link
Contributor

I recalled this used to work an there is no change for the mount part for likes 3 months or so. Then I found docker/for-mac#7227 which seems to be related.

Here is a sample PR to fix this issue for now in case if we can't have docker issue fix: #356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants