{"id":18854929,"url":"https://github.com/gf3/docker-mongosh","last_synced_at":"2025-04-14T10:50:39.839Z","repository":{"id":66112824,"uuid":"316148676","full_name":"gf3/docker-mongosh","owner":"gf3","description":"Docker image for mongosh","archived":false,"fork":false,"pushed_at":"2020-11-26T07:23:59.000Z","size":1,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T16:25:27.622Z","etag":null,"topics":["docker","mongo","mongodb","mongoshell","shell"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/gf3.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":"2020-11-26T07:02:08.000Z","updated_at":"2024-03-21T17:35:55.000Z","dependencies_parsed_at":"2023-03-10T23:37:19.584Z","dependency_job_id":null,"html_url":"https://github.com/gf3/docker-mongosh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gf3%2Fdocker-mongosh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gf3%2Fdocker-mongosh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gf3%2Fdocker-mongosh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gf3%2Fdocker-mongosh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gf3","download_url":"https://codeload.github.com/gf3/docker-mongosh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868826,"owners_count":21174754,"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","mongo","mongodb","mongoshell","shell"],"created_at":"2024-11-08T03:52:16.306Z","updated_at":"2025-04-14T10:50:39.833Z","avatar_url":"https://github.com/gf3.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker mongosh\n\nA docker image for the [MongoDB Shell](https://github.com/mongodb-js/mongosh).\n\n\u003e The MongoDB Shell, mongosh, is a fully functional JavaScript environment for\n\u003e interacting with MongoDB deployments. You can use the MongoDB Shell to test\n\u003e queries and operations directly with your database.\n\n**Note:** Built on mongosh 0.5.2\n\n## Using\n\nPull the docker image.\n\n```sh\ndocker pull gianni/mongosh:latest\n```\n\nAlias it in your shell.\n\nBash:\n\n```sh\nalias mongosh='docker run -it --rm --network host -v $(pwd):/root mongosh:latest'\n```\n\nFish:\n\n```fish\nalias mongosh 'docker run -it --rm --network host -v (pwd):/root mongosh:latest'\n```\n\nAnd finally, run it as you typically would.\n\n```sh\nmongosh \"mongodb://mongo-host:27017/database\"\n...\n.load ./myFile.js\n```\n\n## Building\n\n```sh\ngit clone git@github.com:gf3/docker-mongosh.git\ncd docker-mongosh\ndocker build -t mongosh:latest .\ndocker run -it --rm mongosh:latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgf3%2Fdocker-mongosh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgf3%2Fdocker-mongosh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgf3%2Fdocker-mongosh/lists"}