Skip to content

Add Docker Support - #17

Closed
peterdavidfagan wants to merge 1 commit into
isaac-sim:mainfrom
peterdavidfagan:add_docker_support
Closed

peterdavidfagan wants to merge 1 commit into
isaac-sim:mainfrom
peterdavidfagan:add_docker_support

Conversation

@peterdavidfagan

@peterdavidfagan peterdavidfagan commented Feb 8, 2023 •

Copy link
Copy Markdown

Description

Addition of files that support the build of orbit docker containers.

Checklist

  • I have run the pre-commit checks with pre-commit run --all-files (see here instructions to set it up)
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file

@peterdavidfagan peterdavidfagan changed the title add initial docker files Add Docker Support Feb 8, 2023
@peterdavidfagan
peterdavidfagan force-pushed the add_docker_support branch 2 times, most recently from 6a11526 to 9b1e488 Compare February 8, 2023 15:03
@peterdavidfagan

peterdavidfagan commented Feb 16, 2023 •

Copy link
Copy Markdown
Author

For reference: certain assets are not available due to the version of Isaac-sim that the current Dockerfile builds upon.

@sheikh-nv

Copy link
Copy Markdown
Contributor

For reference: certain assets are not available due to the version of Isaac-sim that the current Dockerfile builds upon.

Try editing the Isaac Sim dockerfile to pull the latest version instead. We will publish an updated dockerfile for Isaac Sim soon.

@peterdavidfagan

Copy link
Copy Markdown
Author

Thanks for getting back to me on this @sabdulajees.

Try editing the Isaac Sim dockerfile to pull the latest version instead. We will publish an updated dockerfile for Isaac Sim soon.

I tried but unfortunately I encounter a build error. No worries on this, I am going to build environments with the workstation install. I may debug the build failure further when looking to use containers for deployment.

@Mayankm96 Mayankm96 added the enhancement New feature or request label Feb 20, 2023

@AndrejOrsula AndrejOrsula left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey. Thank you for this. 😃
I have a few comments/questions (this is not a review).

cmake \
git \
ncurses-term \
python3-pip \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

System-wide pip should no longer be necessary with #28 (not tested).

Suggested change
python3-pip \

# More info:
# https://isaac-orbit.github.io/orbit/source/setup/installation.html
#
FROM isaac-sim:2022.1.1-ubuntu20.04

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed under #14 (reply in thread), nvcr.io/nvidia/isaac-sim could be used here. I did not investigate if it could introduce any issues, but it works for me.

Suggested change
FROM isaac-sim:2022.1.1-ubuntu20.04
ARG ISAACSIM_VERSION=2022.2.0
FROM nvcr.io/nvidia/isaac-sim:${ISAACSIM_VERSION}

@@ -0,0 +1,44 @@
version: "3"
services:
isaac-sim:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose of starting 2 containers (isaac-sim:2022.1.1-ubuntu20.04 + orbit:2022.1.1-ubuntu20.04)?
Wouldn't orbit:2022.1.1-ubuntu20.04 already include everything FROM its base image isaac-sim:2022.1.1-ubuntu20.04?

ENV ISAACSIM_PYTHON_EXE="${ISAACSIM_PATH}/python.sh"

# Install and configure Orbit
COPY . ./Orbit

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[minor] For efficiency, .dockerignore could be added to exclude copying of .git/, .gitignore, .github/, docs/, potential **/__pycache__/, ...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of copying I think it is better to mount the directory to docker.

@peterdavidfagan

Copy link
Copy Markdown
Author

Just wished to communicate that the above items are on my list of things to address. This past week has been really busy which is the reason for less activity on my side.

@Mayankm96

Copy link
Copy Markdown
Contributor

@peterdavidfagan Any plans on updating this PR? :)

@peterdavidfagan

peterdavidfagan commented Apr 14, 2023 •

Copy link
Copy Markdown
Author

Apologies for the inactivity @Mayankm96, this is on my list of things to do but I have had to prioritise a deadline I am working towards for now. I hope to return to this in the near future but it will be at least another 1/2 weeks before I will have the capacity to.

@Mayankm96

Copy link
Copy Markdown
Contributor

Closing this MR due to inactivity. We have made our own docker solution based on this work. Thanks a lot @peterdavidfagan for the assistance.

The docker container will be released in the coming month of July with various other updates.

@Mayankm96 Mayankm96 closed this Jun 30, 2023
@peterdavidfagan

peterdavidfagan commented Jun 30, 2023 •

Copy link
Copy Markdown
Author

Thanks @Mayankm96 and apologies for inactivity, I have had high priority items that I needed to address before returning to open-source contributions.

sbtc-sipbb pushed a commit to Swiss-Battery-Technology-Center/IsaacLab that referenced this pull request Jul 1, 2025
fix: improve reinforcement learning in Isaac Lab README
RLRK-dev added a commit to RLRK-dev/IsaacLab that referenced this pull request Jul 29, 2026
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 this pull request may close these issues.

4 participants