1 Star 0 Fork 0

陈狗翔 / nle

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.34 KB
一键复制 编辑 原始数据 按行查看 历史

Docker images for NLE

This directory -- i.e., docker/ -- contains some docker images that we use for testing both locally and in CI. They contain dependencies and a pre-built version of NLE.

You can try out the latest stable version by doing:

$ docker pull fairnle/nle:stable
$ docker run --rm -it fairnle/nle:stable python  # or bash
# Then you can simply use the nle package as normal

The git repository is installed inside a conda distribution, and can be found in /opt/nle inside the images.

The DockerHub repository also contains pre-built images per each released version of nle, following a specific templates:

1. fairnle/nle:stable
2. fairnle/nle:<nle-version>         # corresponds to (1)
3. fairnle/nle-xenial:<nle-version>  # Based on Ubuntu 16.04
4. fairnle/nle:<sha>                 # xenial image built on dockerfile changes
5. fairnle/nle-xenial:<sha>          # bionic image built on dockerfile changes
6. fairnle/nle:dev                   # points to latest built sha
7. fairnle/nle-xenial:dev            # points to latest built sha

<nle-version> is the latest pip version released, and follows semantic versioning (so something like X.Y.Z).

Building images locally

To build any of them (e.g. the main Dockerfile) do:

# in the repository root
$ docker build -f docker/Dockerfile . -t nle:latest
1
https://gitee.com/ChenGouXiang/nle.git
git@gitee.com:ChenGouXiang/nle.git
ChenGouXiang
nle
nle
master

搜索帮助