{"id":18731309,"url":"https://github.com/aathish04/simplens2_docker","last_synced_at":"2026-04-25T21:32:07.990Z","repository":{"id":211626749,"uuid":"729607965","full_name":"Aathish04/simpleNS2_docker","owner":"Aathish04","description":"This repository provides a small docker compose.yml file to easily run NS2 TCL simulations using the ekiourk/ns2:latest docker image.","archived":false,"fork":false,"pushed_at":"2023-12-09T19:09:06.000Z","size":707,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T22:13:49.414Z","etag":null,"topics":["docker","docker-compose","ns2","ns2-simulator"],"latest_commit_sha":null,"homepage":"","language":"Tcl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aathish04.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-12-09T19:06:56.000Z","updated_at":"2023-12-09T19:08:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"086803cf-8313-4f2f-b026-5c27fbb4b192","html_url":"https://github.com/Aathish04/simpleNS2_docker","commit_stats":null,"previous_names":["aathish04/simplens2_docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aathish04/simpleNS2_docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aathish04%2FsimpleNS2_docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aathish04%2FsimpleNS2_docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aathish04%2FsimpleNS2_docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aathish04%2FsimpleNS2_docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aathish04","download_url":"https://codeload.github.com/Aathish04/simpleNS2_docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aathish04%2FsimpleNS2_docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32278249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","docker-compose","ns2","ns2-simulator"],"created_at":"2024-11-07T14:57:09.540Z","updated_at":"2026-04-25T21:32:07.985Z","avatar_url":"https://github.com/Aathish04.png","language":"Tcl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aathish04/simpleNS2_docker\n\nThis repository provides a small docker `compose.yml` file to easily run NS2 TCL simulations using the `ekiourk/ns2:latest` docker image.\n\n# Prerequisites for Use\n1) You have Docker Desktop installed.\n2) You have a running X Window Server (such as XQuartz) running on your host, and it is configured to accept connections from localhost.\n\n## Getting Started\n1) Clone this repository to your local system.\n2) Move into this directory.\n3) Place your `.tcl` programs inside the `programs` folder. This folder will be `bind-mount`ed into the docker container for ns2 as the `/ns2/programs` folder.\n4) Run `docker compose run --rm ns2`\n    \n    The `--rm` is important. Without it, docker will create a new container each time you run the command and ultimately take up way too much hard-drive space.\n\n    You will be dropped into a root `bash` shell where the current working directory is `/ns2/programs`. You should be able to see all the programs that you placed in the `programs` folder on the host machine here.\n    \n    In the root shell you were dropped into you can run the `ns`, `nam` and `xgraph` commands (and essentially any command provided by the `ns-allinone-2.35` software).\n    \n    Run a command that invokes a GUI application (like `xgraph` on a `.xgr` file or `nam` on a `.nam` file) and you should see the appropriate window pop up on your desktop.\n    \n    ![Screenshot of it all running together](./screenshots/running_screenshot.jpg)\n\n5) Once you're done with `NS2` (say, at the end of your semester) you can delete any container created for NS2 (if you ever left out the `--rm` in the `docker compose run` command) and the `ekiourk/ns2 Docker Image` through the Docker Desktop dashboard.\n\n\n## Contribution\n\nIs welcome. Issues and bug reports, as well as pull requests are highly encouraged.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faathish04%2Fsimplens2_docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faathish04%2Fsimplens2_docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faathish04%2Fsimplens2_docker/lists"}