Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

joosephook/spinningup-dockerfile

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spinningup-dockerfile

This repository consists of a Dockerfile with a corresponding docker-compose.yaml. The reason is that OpenAI Spinning Up was not straightforward to install in a Docker container (e.g. pip install git+git://github.com/openai/spinningup did not work for some reason). The provided Dockerfile should successfully build and install spinningup. The docker-compose.yaml comes with a test-install service to test that your installation was successful.

The main insight is that first cloning the repository and then installing it with pip works.

Tested on Ubuntu 18.04.2 LTS.

Usage

First, add any other dependencies you need to the Dockerfile.

To build the container

docker-compose build container

Test if spinningup was installed properly

docker-compose run test-install

Run your own code

docker-compose run container python mycode.py

About

Dockerfile for OpenAI spinningup code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.