-
Notifications
You must be signed in to change notification settings - Fork 39
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
Multiple issues with docker, python versions and build script #29
Comments
Adding @harperj who may be able to provide some context. These are good recommendations that we will take into account in the next round of the contest. |
|
I've solved the problem, and I don't have the log file anymore. I think the issue had something to do with I'm not saying that anything should be fixed regarding this in the docker examples, but it would be great if some information could be added to the README. It took me some time to realize that when In particular, |
I am trying to test my environment with docker on a GCloud VM.
I noticed multiple issues while trying to build and run the docker:
1. The only version working with the README tutorial is python 3.6
This is kind of annoying:
aicrowd-repo2docker
using f-strings.ml-agents
cannot be installed with 3.7Python 3.7 can be used, but
aicrowd-repo2docke
must be installed without usingrequirements.txt
.A note should be added to the README. I have python 3.5 by default, and I compiled python 3.7 from scratch thinking it would work, just to notice it does not with
ml-agents
... Had I known, I would have built python 3.6.2. Small issue with
build.sh
This:
...does not work if the shell is not bash-compliant (e.g.
fish
). A shabang should be added, or the line should be changedbash build.sh
.3. Cannot run the docker containers if there are agents running
The docker containers cannot be launch if there are agents running aside on the same host due to the
--network=host
. And the worker ID cannot be changed without modifying the source code ofrun.py
.4. Cannot run the docker containers
Even after modifying the worker ID or trying to put the two dockers on a docker network
--network=ot-network
, the agent fails to launch with a unity time-out exception:I am using a GCloud VM created following the tutorial. I tried running
sudo /usr/bin/X :0
and adding--env DISPLAY=:0
to the docker command line but it did not work.The text was updated successfully, but these errors were encountered: