Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libnetwork/etchosts: add GetBaseHostFile()
Add helper function to convert the base_hosts_file config value to a actual path. It is important to use securejoin to make sure that containers cannot point to a file on the hosts via a symlink. Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information