The command line arguments listed here: https://docs.docker.com/engine/reference/commandline/service_create
Does not specify the exact syntax, only -e
.
在页面下方进一步解释: https : //docs.docker.com/engine/reference/commandline/service_create/#set-environment-variables--e-env
--env MYVAR=foo
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.