prepare env for a new container running on the same data