简体   繁体   中英

How to unset an environment variable in Eclipse run configuration?

I have an external run configuration for docker-compose, and need to disable TLS verification because my VPN messes with my connection and I connect through a forwarded port because of that.

The only way I have found to do that for docker-compose is to unset the environment variable DOCKER_TLS_VERIFY (setting it to 0 does not work). Note that setting it to an empty String in the environment variables view did not work (see screenshot).

How can I unset the variable?

在此处输入图片说明

在该对话框的底部, 选择指定的环境更换原生环境使用定义要保持变量env_var设置的值 ,例如值设置DOCKER_HOST${env_var:DOCKER_HOST}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM