I have the following in my
After rebooting the machine, I login and check the variable:
root@d6c44fa03243:/# echo $http_proxy (empty)
Why is the variable not set?
Note: I must mention that this is a docker container, although I do not see why it would make a difference.
More details about the system (
Ubuntu 16.04.4 Xenial Xerus):
root@d6c44fa03243:/# uname -a Linux d6c44fa03243 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux root@d6c44fa03243:/# cat /etc/issue Ubuntu 16.04.4 LTS \n \l
According to the Ubuntu documentation:
This file is specifically meant for system-wide environment variable settings. It is not a script file, but rather consists of assignment expressions, one per line.