mimoralea / gdrl

Grokking Deep Reinforcement Learning
https://www.manning.com/books/grokking-deep-reinforcement-learning
BSD 3-Clause "New" or "Revised" License
798 stars 231 forks source link

How to enter the docker's command line mode? #8

Closed yt7589 closed 3 years ago

yt7589 commented 3 years ago

Hi. I had set up docker environment and pull the image mimoralea/gdrl . I run the docker image it would startup a notebook server. I can access this server via browser. I want to just use the docker image command line. How can I access the command line of this docker image?

yt7589 commented 3 years ago

I found that I can enter the docker use the below command: sudo nvidia-docker ps

found the containerID this docker image then run

sudo nvidia-docker exec -it /bin/bash By the way you can use python directly without activating the conda venv.