45-phabicator-ssh tests if hostkey directory exists and if it does tries to copy existing files into container setup ssh keys location.
and if it doesn't exist - creates keys and then copies it into the persisting folder.
the problem is that in original declaration the folder always exists, so the script doesn't go to the generation branch of the if/else.
declaring path as a subdirectory of a mapped directory solves this.
45-phabicator-ssh tests if hostkey directory exists and if it does tries to copy existing files into container setup ssh keys location. and if it doesn't exist - creates keys and then copies it into the persisting folder.
the problem is that in original declaration the folder always exists, so the script doesn't go to the generation branch of the if/else. declaring path as a subdirectory of a mapped directory solves this.