move writing env to docker to writer