Open gschmottlach-xse opened 2 years ago
I personally dump all the things from the host that I need in the container in a subdirectory of the workdir, and then use a single bash-script that sets up aliases, copies files, and sources the relevant environment file.
I'm running into the same issue and the final answer in #29 does not work for me.
I usually mount the known_hosts in /etc/ssh/known_hosts which solves the issue for me.
-v ~/.ssh/known_hosts:/etc/ssh/known_hosts
The closed issue #29 is biting me as well. Currently there does not seem to be a viable way to share the host's .ssh/config and/or .ssh/known_hosts with the poky container since it appears the pokyuser account is created on-the-fly when the container is run based on the uid/gid of the workdir. I desparately need a mechanism to share this in order for my container to build my Yocto image correctly. Do you have any suggestions. It was mentioned in Issue #29 that this remained an outstanding issue that needs to be addressed. I'm hoping a solution has been discovered but just not documented.