...
For the notebooks, you need to restart the docker container before the changes are applied. If you don't want to restart it, you can use the following R code to change it instantly:
Code Block |
---|
# TheList of ipexceptions to add to the list of exceptions ipips <- c('192.168.25.*', # If the ip listed is not already present, add it to the list if(!grepl'1-random-dockerurl.public.saagie.com') sapply(ips, function(ip) { # For each ip in the list if(!stringi::stri_detect_fixed(Sys.getenv('NO_PROXY'), ip)) { # If the variable is not already present Sys.setenv('NO_PROXY'=paste(Sys.getenv('NO_PROXY'),ip, sep = ','))}}) # Add it to the existing environment variable |
You will need to execute this every time you restart your notebook (.ipynb).