We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Now, to execute several clients we have to run the same line with different port:
docker run --rm --name fl-client-5002 -p 5002:5002 -e CLIENT_URL='http://fl-client-5002:5002' -e SERVER_URL='http://fl-server:5000' -e FLASK_RUN_HOST=0.0.0.0 -e FLASK_RUN_PORT=5002 --network=fl-network fl-client:latest docker run --rm --name fl-client-5003 -p 5003:5003 -e CLIENT_URL='http://fl-client-5003:5003' -e SERVER_URL='http://fl-server:5000' -e FLASK_RUN_HOST=0.0.0.0 -e FLASK_RUN_PORT=5003 --network=fl-network fl-client:latest docker run --rm --name fl-client-5004 -p 5004:5004 -e CLIENT_URL='http://fl-client-5004:5004' -e SERVER_URL='http://fl-server:5000' -e FLASK_RUN_HOST=0.0.0.0 -e FLASK_RUN_PORT=5004 --network=fl-network fl-client:latest
The line for each container is a bit cumbersome, probably with a simple shell script that receives a port number is enough.
The text was updated successfully, but these errors were encountered:
eyp
No branches or pull requests
Now, to execute several clients we have to run the same line with different port:
docker run --rm --name fl-client-5002 -p 5002:5002 -e CLIENT_URL='http://fl-client-5002:5002' -e SERVER_URL='http://fl-server:5000' -e FLASK_RUN_HOST=0.0.0.0 -e FLASK_RUN_PORT=5002 --network=fl-network fl-client:latest
docker run --rm --name fl-client-5003 -p 5003:5003 -e CLIENT_URL='http://fl-client-5003:5003' -e SERVER_URL='http://fl-server:5000' -e FLASK_RUN_HOST=0.0.0.0 -e FLASK_RUN_PORT=5003 --network=fl-network fl-client:latest
docker run --rm --name fl-client-5004 -p 5004:5004 -e CLIENT_URL='http://fl-client-5004:5004' -e SERVER_URL='http://fl-server:5000' -e FLASK_RUN_HOST=0.0.0.0 -e FLASK_RUN_PORT=5004 --network=fl-network fl-client:latest
The line for each container is a bit cumbersome, probably with a simple shell script that receives a port number is enough.
The text was updated successfully, but these errors were encountered: