Cannot change permissions of hostconfig.json and config.v2.json for container
Issue
- Unable to change the permissions of two
jsonfiles inside/var/lib/docker/containers/container ID/whenever any container is created. These files are :
/var/lib/docker/containers/<container-id>/config.v2.json
/var/lib/docker/containers/<container-id>/hostconfig.json
- If we change the permissions once, they get automatically changed if we
start/stopthe container or restart the docker service.
Environment
- Red Hat Enterprise Linux 7.3
- docker-1.12.6-28.git1398f24.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
