threefoldtecharchive / jumpscaleX_core

Apache License 2.0
1 stars 6 forks source link

Mixing of 3sdk --expert can get you in trouble #862

Closed grimpy closed 4 years ago

grimpy commented 4 years ago

When you create a threebot with --expert enable you container will moutn the code inside your container from ~/sandbox/code

if you afterwards start the same container with pull=true withouth expert mode it might deleted all your code on the host.

This behaviour is ofcourse undesirable.

When pulling code we need to detect if our container we are pulling from has coded mounted or not instead of relying on the --expert flag

Dina-Abd-Elrahman commented 4 years ago