nanobox-rails
nanobox-rails copied to clipboard
mkdir: cannot create directory ‘/app/vendor/bundle’: Permission denied
I've just installed nanobox and docker for the first time. Following the instructions in the readme here gives me this error:
sudo nanobox run rails s Preparing environment :
- HEADS UP:
- This is the first build for this project and will take longer than usual.
- Future builds will pull from the cache and will be much faster.
Building runtime : ✓ Starting docker container ✓ Preparing environment for build ✓ Gathering requirements ! Mounting cache_dirs
! FAILED TO MKDIR -P /APP/VENDOR/BUNDLE !
Exit 1
Command su - gonano -c "mkdir -p /app/vendor/bundle"
Output mkdir: cannot create directory ‘/app/vendor/bundle’: Permission denied
Error : failed to execute hook (mount) on b38eae740846cc02e8a3145cfd6a66702f83da9910c8383c683cbf15c54bb779: util:Exec:/opt/nanobox/hooks/mount: bad exit code(1): Context : failed to build the code
Any idea what's causing it?
It looks like a permissions issue with the container. Can't seem to replicate it on my Ubuntu 17.04 workstation.
Are you still getting this error?