docker-oracle-xe-11g icon indicating copy to clipboard operation
docker-oracle-xe-11g copied to clipboard

Different environment variables values on root user

Open vlombardi opened this issue 9 years ago • 0 comments

Hello, may someone please tell me why I get very different environment variables values in the following cases:

  1. docker exec -it reteyel_oracle env
  2. docker exec -it reteyel_oracle bash -c "env"
  3. launching the bash on the container with "docker exec -it reteyel_oracle bash" and then launching "env" from the shell ? I'd expect to have the same environment in the three but it is very different indeed...

The same does not happen with other docker images. Do someone know why?

vlombardi avatar Nov 27 '15 18:11 vlombardi