-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we use environment variables to set client/server? #5
Comments
Hi @brimur, apologies for the delay. You can definitely pass ENVs. For example:
|
Hi @nerdalert, thanks for the reply but what I meant was does it look for variables on startup of the container. The Synology implemention means I can only hit start, I can't actually go into the container and run iperf3, it's run when I start the container. So I was wondering if there was something like, on startup of the container it looks for the environment variable TYPE which can be server or client and if TYPE is client it looks for other variables such as SERVERIP and maybe others like PARALLEL. Np if not, was just curious. |
Hi, I'm using this on a Synology NAS which is all GUI Docker manager so environment variables are the only way to affect a docker on startup. Is it possible to pass in an environment variable to specify server or client + ip? Thanks
The text was updated successfully, but these errors were encountered: