Closed LlorandoLau closed 4 years ago
Hi,
I have run set-env.sh to set DOCKER_HOST_IP and it echos my ip:
but when I run the command to check whether the var is set, it shows: DOCKER_HOST_IP is not set or is blank
Thanks for your help
set-env.sh needs to set environment variables within the current shell, not a nested shell. Run source set-env.sh or . set-env.sh.
set-env.sh
source set-env.sh
. set-env.sh
Hi,
I have run set-env.sh to set DOCKER_HOST_IP and it echos my ip:
but when I run the command to check whether the var is set, it shows: DOCKER_HOST_IP is not set or is blank![TIM截图20200407143640](https://user-images.githubusercontent.com/28216165/78637593-3fb2a800-78dd-11ea-9d68-458acecf25a2.png)
Thanks for your help