From 2a1b495fdd948fde9e4456841b325d4b05e517c5 Mon Sep 17 00:00:00 2001 From: zweien <278954153@qq.com> Date: Sun, 18 Jul 2021 15:22:02 +0800 Subject: [PATCH] docs: update docker usage --- README.md | 9 +++++++-- docs/user/installation.md | 6 +++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1bbaa5a..6e7ef2d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Choose one of the following installation methods. ### PyPI -Simple installation from PyPI +Simple installation from PyPI. ```bash pip install -U idrlnet @@ -33,11 +33,16 @@ Note: To avoid version conflicts, please use some tools to create a virtual envi ### Docker +Pull latest docker image from Dockerhub. + ```bash docker pull idrl/idrlnet:latest -docker run idrl/idrlnet:latest +docker run -it idrl/idrlnet:latest bash + ``` +Note: Available tags can be found in [Dockerhub](https://hub.docker.com/repository/docker/idrl/idrlnet). + ### Anaconda ```bash diff --git a/docs/user/installation.md b/docs/user/installation.md index 6912976..4c13766 100644 --- a/docs/user/installation.md +++ b/docs/user/installation.md @@ -17,11 +17,15 @@ Note: To avoid version conflicts, please use some tools to create a virtual envi ## Docker +Pull latest docker image from Dockerhub. + ```bash docker pull idrl/idrlnet:latest -docker run idrl/idrlnet:latest +docker run -it idrl/idrlnet:latest bash ``` +Note: Available tags can be found in [Dockerhub](https://hub.docker.com/repository/docker/idrl/idrlnet). + ## Anaconda ```bash