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

work with docker #157

Open
jekizen opened this issue Nov 18, 2024 · 1 comment
Open

work with docker #157

jekizen opened this issue Nov 18, 2024 · 1 comment

Comments

@jekizen
Copy link

jekizen commented Nov 18, 2024

Good afternoon
I tried to run run-dev.sh when docker was running in ROOTLESS mode, it worked poorly - the topics inside docker were not visible, also when calling, for example, realsense-viewer there was no image on the screen, errors like 'I CANNOT find the display))'.

After a week of torment) I turned off ROOTLESS mode:

  1. systemctl --user disable docker.service
  2. sudo systemctl enable docker.service
  3. sudo systemctl enable docker.socket
  4. sudo usermod -aG docker username # to run docker without typing 'sudo' in front
    , and everything worked )))))) topics appeared and output appeared on the screen

But the question is different, since now I believe that issac ros works))), how can I save the container configuration after running run-dev.sh and after installing additional packages. I ran 'docker commit ... ' from the second term while the container created by run-dev.sh was running? but after the next launch of the saved container, the data from workspases/issac_ro_dev/ .... and the lower subfolders were not visible. What is the best way to do this?

@jekizen
Copy link
Author

jekizen commented Nov 20, 2024

found the following solution:

  1. While docker is running, after installing or configuring it, in another terminal we execute:
    docker commit isaac_ros_dev-x86-64 jeki001 #write the container to image jeki001.

  2. We leave from, and change to run_dev.sh строку BASE_NAME="isaac_ros_dev-$PLATFORM" (183)
    #BASE_NAME="isaac_ros_dev-$PLATFORM"
    BASE_NAME="jeki001"

  3. run: run_dev.sh -b

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

No branches or pull requests

1 participant