dock_dir shouldn't be mandatory