2 ms·
You want to prevent the agent/others from reaching your home directory and other things. As long as you don't mount/sync directories/files from/to the container
by embedding-shape 2mo ago
You want to prevent the agent/others from reaching your home directory and other things. As long as you don't mount/sync directories/files from/to the container, so no mounting like "-v $(pwd):/app", but instead copy in, then when done, copy out.
And of course, instead of doing the "copy in > copy out" process manually, get your local agent to write a bash script that does that for you, given what directory you're in, and you're basically G2G.
- tjoff 2mo agoWhat is the advantage of copying rather than a bind-mount?
- furst-blumier 2mo ago"Oops I deleted everything under $FOLDER – that mistake is on me" doesn't kill it on your host system
- tjoff 2mo agoSure, but all projects are version controlled? You only mount the project dir so you can only loose your current changes - which is the same if you copy...