Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    You'll also want to run: semanage fcontext -a -e /var/lib/docker /data/docker Commented Jun 28, 2018 at 23:36
  • @jsbillings could you add an explanation why this is useful? Commented Mar 8, 2021 at 16:22
  • semanage fcontext -a -e .... ..... sets up an equivalency class between the original location and the new one, so the files automatically get the right context. Commented Mar 8, 2021 at 21:40