Browse Source

Document that the CMD needs with-contenv for full env

Signed-off-by: Laurent Bercot <[email protected]>
Laurent Bercot 3 years ago
parent
commit
554f22eaf3
1 changed files with 5 additions and 1 deletions
  1. 5 1
      MOVING-TO-V3.md

+ 5 - 1
MOVING-TO-V3.md

@@ -42,7 +42,11 @@ the supervision tree has changed locations. If you need to exit a container from
 inside, without your CMD dying (or without having declared a CMD), run the
 `/run/s6/basedir/bin/halt` command instead.
   * Services that were previously addressed via `/var/run/s6/services/foobar` are now
-addressed via `/run/service/foobar`. 
+addressed via `/run/service/foobar`.
+- The CMD, if any, always used to run under the container environment. This is not
+the case anymore: just like supervised services, the CMD is now run with a minimal
+environment by default, and you need to prepend it with `with-contenv` if you want
+to provide it with the full container environment.
 
 ## Service management-related changes