Those can be mounted as docker secrets.

https://docs.docker.com/engine/swarm/secrets/

While the docs mention this being for docker swarm, you don't need any
more instances of docker in your "swarm" than your existing desktop
one. Alternatively, this could use docker volumes to mount your
existing .ssh and .subversion directories from your user to the docker
image.

On Fri, Jul 30, 2021 at 2:59 PM sebb <seb...@gmail.com> wrote:
>
> If so, why?
>
> I have mainly been running Docker without mounting .ssh and
> .subversion, and not noticed any issues that seem to be caused
> omitting them.
>
> If they can be dropped, it would reduce the number of directories that
> have to be exposed to Docker.
>
> Sebb

Reply via email to