0

Does it require to mount docker.sock for a docker container to monitor host files( look for changes in a file say logs) from within the container?

If so, why?

chandan
  • 964
  • 1
  • 19
  • 26
  • 1
    It depends on what exactly you need/want to do. If you just want to check for changes in some files on the host, it's better to just mount the folder as a volume in the container. – Stefan R Mar 19 '18 at 21:57
  • Are you monitoring Docker on the host or something else? – Matt Mar 19 '18 at 23:04

0 Answers0