Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image for RAI #376

Open
maciejmajek opened this issue Jan 19, 2025 · 2 comments · Fixed by #377
Open

Docker image for RAI #376

maciejmajek opened this issue Jan 19, 2025 · 2 comments · Fixed by #377
Assignees
Labels
enhancement New feature or request

Comments

@maciejmajek
Copy link
Member

Is your feature request related to a problem? Please describe.
The current setup process for RAI is challenging, particularly when it comes to resolving Python compatibility issues and dependencies. Users who attempt to set up RAI in alternative environments, such as Conda or standalone Python configurations, face significant hurdles, leading to excessive time spent troubleshooting. This creates a barrier to integrating RAI with other frameworks like LeRobot.

Describe the solution you'd like
A Docker image or a simplified Dockerfile should be provided to enable seamless RAI setup. This image should mirror the tested environment used in RAI's CI pipelines, ensuring compatibility and reliability. Hosting the built Docker image on a public registry (e.g., Docker Hub) would further simplify the process for users by allowing them to pull and use the image directly.
Since RAI's dependencies change often, the hosted docker image should be updated often, perhaps using Jenkins or other solutions

Describe alternatives you've considered

  • Detailed step-by-step guides for alternative environments (e.g., Conda or standalone Python setups).

Additional context
This Docker-based solution would significantly reduce the time and effort required for users to get started with RAI. A public Dockerfile would also aid advanced users who wish to adapt the environment for their unique setups. Including this Docker image in RAI's official documentation would enhance user accessibility and streamline the onboarding process.

@maciejmajek maciejmajek added the enhancement New feature or request label Jan 19, 2025
@maciejmajek maciejmajek self-assigned this Jan 19, 2025
@maciejmajek maciejmajek linked a pull request Jan 19, 2025 that will close this issue
@maciejmajek
Copy link
Member Author

maciejmajek commented Jan 19, 2025

@vmayoral
Effort started: #377
The images are working, however there are still some decisions to be made e.g.:

  • Mounting current folder as /rai overwrites the /rai folder used to install deps and build packages in Dockerfile. This is not optimal, as with first docker run there are no build files which require an additional command to be ran (colcon build...)
  • Publish target for images: ghcr vs docker registry
  • Solving possible ownership problems

@maciejmajek
Copy link
Member Author

maciejmajek commented Jan 21, 2025

We have merged the changes. While the solution is far from perfect and hasn’t been tested as thoroughly as Poetry RAI, we hope it will suffice for the tryouts. #377

Todo: publish images to online registry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant