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

docker-composer - /home/app is not writable. #22

Closed
myujang opened this issue Feb 21, 2018 · 2 comments
Closed

docker-composer - /home/app is not writable. #22

myujang opened this issue Feb 21, 2018 · 2 comments

Comments

@myujang
Copy link

myujang commented Feb 21, 2018

I come across some error while running 'make setup-apps'
/home/app is not writable.
Bundler will use `/tmp/bundler/home/unknown' as your home directory temporarily.

After some digging and testing. i change the docker-composer on volumes to increment number then all make no issues.
volumes:
- ./barong:/home/app4

@sosospicy
Copy link

Problem solved by reboot system . don't know the reazon... : s

@dmk
Copy link
Contributor

dmk commented Mar 12, 2018

The reason is that when we mount a local directory to the container, it keeps you local ownership. In short, it's read-only for the app user inside the container (unless your host user has uid: 1000)

Simple workaround:

sudo chown 1000 -R barong/ peatio/
make setup-apps
sudo chown $USER -R barong/ peatio/

Closing, feel free to reopen if that didn't help.

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

3 participants