{"id":17329869,"url":"https://github.com/fgimenez/fenced-tmate","last_synced_at":"2025-06-23T17:08:51.065Z","repository":{"id":29002856,"uuid":"32529821","full_name":"fgimenez/fenced-tmate","owner":"fgimenez","description":"tmate docker container","archived":false,"fork":false,"pushed_at":"2018-03-02T17:35:18.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T05:43:42.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fgimenez.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}},"created_at":"2015-03-19T15:28:16.000Z","updated_at":"2015-04-01T15:23:42.000Z","dependencies_parsed_at":"2022-08-01T23:39:57.303Z","dependency_job_id":null,"html_url":"https://github.com/fgimenez/fenced-tmate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fgimenez/fenced-tmate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Ffenced-tmate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Ffenced-tmate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Ffenced-tmate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Ffenced-tmate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fgimenez","download_url":"https://codeload.github.com/fgimenez/fenced-tmate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Ffenced-tmate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261519017,"owners_count":23171227,"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":[],"created_at":"2024-10-15T14:49:39.384Z","updated_at":"2025-06-23T17:08:51.016Z","avatar_url":"https://github.com/fgimenez.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"This simple container allows you to run tmate [1] in a safe environment. You can select which directory to share, and the interaction with your peers in that directory is confined in an ubuntu 15.04 docker container, the rest of your system is not accessible to anyone invited to your tmate session.\n\nMoreover, using the `fence_tmate_in` script a user is created in the container with the same uid and gid as the invoking user, so that the ownership of the files created is properly set and even the container is safe during the tmate session, you and your peers can only modify the shared directory.\n\nIt requires docker installed and started, for ubuntu the following will do:\n\n    $ sudo apt-get install docker.io\n    $ sudo service docker start\n\nWith your source files at `/path/to/shareable/dir` you can spin up the container from the root of this project (or from anywhere else if you put the `fence_tmate_in` script in the PATH) with:\n\n    $ ./fence_tmate_in /path/to/shareable/dir\n\nTo share the current directory just:\n\n    $ ./fence_tmate_in\n\nWhile the tmate session is active you can access as root to install additional packages, for instance, first get the container name:\n\n    $ sudo docker ps\n\n    CONTAINER ID    IMAGE                          COMMAND               CREATED         STATUS          PORTS   NAMES\n    9d7d157f25be    fgimenez/fenced-tmate:latest   \"\\\"/bin/bash -ci 'ap  19 seconds ago  Up 18 seconds           grave_pasteur\n\nIn this case the name is `grave_pasteur`, then access it as root with:\n\n    $ sudo docker exec -it grave_pasteur bash\n\n[1] http://tmate.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgimenez%2Ffenced-tmate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffgimenez%2Ffenced-tmate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgimenez%2Ffenced-tmate/lists"}