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

Is it possible to configure the Docker storage driver used by builds? #4425

Closed
ray-grointel opened this issue Jun 27, 2018 · 1 comment
Closed

Comments

@ray-grointel
Copy link

We're using a custom Docker image for our shippable builds, and have had errors caused by the Docker AUFS storage driver's lack of support for some filesystem actions:

Renaming directories: Calling rename(2) for a directory is not fully supported on AUFS. It returns EXDEV (“cross-device link not permitted”), even when both of the source and the destination path are on a same AUFS layer, unless the directory has no children. Your application needs to be designed to handle EXDEV and fall back to a “copy and unlink” strategy.

We've seen this issue affect npm --global install commands, and raise "postgres permission denied" errors:

Some solutions suggested include switching the Docker storage driver from AUFS to devicemapper:

Is it possible to configure the Docker storage driver used by builds? https://docs.docker.com/storage/storagedriver/device-mapper-driver/#configure-docker-with-the-devicemapper-storage-driver


Example build: https://app.shippable.com/bitbucket/grointelligence/gro/runs/19351/1/console

@trriplejay
Copy link

Currently this is not a configuration option that we provide. I think if you were to utilize our BYON feature that you might be able to configure a node to use device mapper instead.

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