项目作者: erikerlandson

项目描述 :
A minimalist Ray distributed computing container image, based on Red Hat UBI
高级语言: Dockerfile
项目地址: git://github.com/erikerlandson/ray-ubi.git
创建时间: 2021-02-05T22:59:29Z
项目社区:https://github.com/erikerlandson/ray-ubi

开源协议:Apache License 2.0

下载


ray-ubi

A minimalist Ray distributed computing container image, based on Red Hat UBI

This image can be found at:
https://quay.io/repository/erikerlandson/ray-ubi

  1. $ docker pull quay.io/erikerlandson/ray-ubi

The ray-ubi image uses pipenv for install of ray and enables easy addition of python deps.
To build an image with additional python packages:

  1. FROM <this image>
  2. RUN cd /opt/ray && pipenv install ...

To run ray from this image:

  1. # go to the pipenv environment
  2. $ cd /opt/ray
  3. # activate the virtualenv for this directory
  4. $ . $(pipenv --venv)/bin/activate
  5. # now you have all the pipenv deps for ray
  6. $ ray start ...