Closed vidurvij closed 5 years ago
After a little digging I think I can guess your problem (and it is because I did not give proper instructions for installing nvidia-docker in the readme). Please install nvidia-docker and test to make sure you can use the nvidia runtime:
docker run --runtime=nvidia --rm nvidia/cuda:9.0-base nvidia-smi
Then you should be able to run my docker:
docker run --env="DISPLAY" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" --runtime=nvidia vrep_ee_reach
If this all works, this should resolve your issue. Thanks for letting me know!
When running the preview code included in the repo. A error pops up.
HTTPError Traceback (most recent call last) ~/miniconda3/lib/python3.7/site-packages/docker/api/client.py in _raise_for_status(self, response) 260 try: --> 261 response.raise_for_status() 262 except requests.exceptions.HTTPError as e:
~/miniconda3/lib/python3.7/site-packages/requests/models.py in raise_for_status(self) 938 if http_error_msg: --> 939 raise HTTPError(http_error_msg, response=self) 940
HTTPError: 400 Client Error: Bad Request for url: http+docker://localhost/v1.35/containers/create
During handling of the above exception, another exception occurred:
APIError Traceback (most recent call last)