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

Mount data/configuration directory #31

Open
nitdgpvijay opened this issue Nov 8, 2022 · 1 comment
Open

Mount data/configuration directory #31

nitdgpvijay opened this issue Nov 8, 2022 · 1 comment

Comments

@nitdgpvijay
Copy link

Hi,
Is there any way we can mount the volume to persist changes done to the configuration?
I run container with -v :/var/lib/apacheds. it seems not working. First time container starts correctly but when restart container it fails to start. I see error ERR_216_ID_FOR_PARENT_NOT_FOUND in the logs.

@joshmoore
Copy link
Member

Hi @nitdgpvijay. I don't have a working example to hand so your-mileage-may-vary, but minimally I think the argument before the : needs an absolute path:

-v $PWD/data:/var/lib/apacheds

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