{"id":21864563,"url":"https://github.com/2004seraph/ros-noetic-in-docker","last_synced_at":"2025-03-21T20:45:31.901Z","repository":{"id":259958657,"uuid":"859480772","full_name":"2004seraph/ros-noetic-in-docker","owner":"2004seraph","description":"Template scripts for running ROS Noetic in Docker. Useful for developing on Ubuntu 22.04, or any other Unix ROS Noetic doesn't support. Not tested for non-Linux installations.","archived":false,"fork":false,"pushed_at":"2024-10-28T21:19:46.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T15:32:25.284Z","etag":null,"topics":["docker","ros-noetic","template-project"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2004seraph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-18T18:25:39.000Z","updated_at":"2024-10-28T21:19:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d7b67e6-972b-424d-b758-82336222c67d","html_url":"https://github.com/2004seraph/ros-noetic-in-docker","commit_stats":null,"previous_names":["2004seraph/ros-noetic-in-docker"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2004seraph%2Fros-noetic-in-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2004seraph%2Fros-noetic-in-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2004seraph%2Fros-noetic-in-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2004seraph%2Fros-noetic-in-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2004seraph","download_url":"https://codeload.github.com/2004seraph/ros-noetic-in-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244868403,"owners_count":20523586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","ros-noetic","template-project"],"created_at":"2024-11-28T04:10:05.173Z","updated_at":"2025-03-21T20:45:31.894Z","avatar_url":"https://github.com/2004seraph.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ROS Noetic in Docker - A template project\n\n## Files\n\n- `init.sh` = run once after booting your machine.\n- `start-command.sh` = source this file into your host machine's `.bashrc` to enable the `ros` command in your terminal.\n - The `ros` command will start an interactive terminal within your ROS Noetic docker container, ready to start development.\n - It can be run multiple times in different terminal windows, all instances connect to the same underlying Docker container.\n - It will make graphical programs like Gazebo function correctly. (Assuming you're using X.Org and have done the required setup for your host's graphics hardware/driver - more on this below).\n- `ros-user-init.sh` = your .bashrc within the docker container (it is sourced within the Dockerfile).\n - Has some useful config and aliases preloaded as well.\n\n## Notes\n\nThis entire repo directory is loaded into `/home/cccyan-ros/ros/` within the container as a volume, so any changes made outside the container will immediately be reflected from within it, meaning you can run your IDE on your host as normal, and use a container terminal to build, test, and access Noetic tooling. Edits from within the container will also persist as expected.\n\n### Usage\n\n- Clone this repo\n- Tweak the `ros-user-init.sh` file to your liking\n- Add `source /path/to/start-command.sh` to your `.bashrc` file\n- Build the docker image\n- Setup or clone your ROS Noetic project into the `catkin_ws` folder\n- Run `ros` in any terminal you need a ROS Noetic developer environment\n- Work within the `catkin_ws` folder as normal\n\n### Graphical ROS Programs within the Container\n\nThis template assumes your computer uses the X.Org display server, as it gives the ROS container permission to access the host instance.\n\nIf you have an NVidia graphics card, you must install and correctly setup the [NVidia Container Runtime](https://developer.nvidia.com/container-runtime) for Docker.\n\nAMD users may need to remove the entire `deploy` key in the `docker-compose.yml` for this to work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2004seraph%2Fros-noetic-in-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2004seraph%2Fros-noetic-in-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2004seraph%2Fros-noetic-in-docker/lists"}