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

Issue installing Typesense with docker yaml file on website #1663

Open
chiralcentre opened this issue Apr 11, 2024 · 2 comments
Open

Issue installing Typesense with docker yaml file on website #1663

chiralcentre opened this issue Apr 11, 2024 · 2 comments

Comments

@chiralcentre
Copy link

Description

I have copied the exact docker compose file for installing Typesense from this link (https://typesense.org/docs/guide/install-typesense.html#option-1-typesense-cloud), but unfortunately I keep getting the following error after running the command docker compose -f typesense.compose.yml up -d:

Error response from daemon: error while creating mount source path '/host_mnt/Users/ryantanweijie/Documents/vault-dgs-search/typesense-data': mkdir /host_mnt/Users/ryantanweijie/Documents: operation not permitted

I have ensured that the Documents folder has the appropriate permissions, and I also tried to run Docker with the command sudo docker compose -f typesense.compose.yml up -d to no avail. I have also tried uninstalling and reinstalling Docker.
Can I check how should I resolve this issue?

Steps to reproduce

docker compose -f typesense.compose.yml up -d

Expected Behavior

No error

Actual Behavior

The following message shows up: Error response from daemon: error while creating mount source path '/host_mnt/Users/ryantanweijie/Documents/vault-dgs-search/typesense-data': mkdir /host_mnt/Users/ryantanweijie/Documents: operation not permitted

Metadata

Typesense Version:
26.0

OS:
MacOS

@jasonbosco
Copy link
Member

Could you try running mkdir $(pwd)/typesense-data before running docker-compose up?

@chiralcentre
Copy link
Author

chiralcentre commented Apr 12, 2024

The instruction given on thee website does not work as the configuration file is not provided

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants