{"id":20200402,"url":"https://github.com/nickjer/docker-ssr","last_synced_at":"2026-02-13T00:48:09.781Z","repository":{"id":70912313,"uuid":"85374259","full_name":"nickjer/docker-ssr","owner":"nickjer","description":"SimpleScreenRecorder in a Docker container","archived":false,"fork":false,"pushed_at":"2017-03-18T03:56:44.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T08:45:31.199Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/nickjer.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":"2017-03-18T03:56:13.000Z","updated_at":"2020-04-14T04:41:06.000Z","dependencies_parsed_at":"2023-02-21T23:01:11.489Z","dependency_job_id":null,"html_url":"https://github.com/nickjer/docker-ssr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nickjer/docker-ssr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickjer%2Fdocker-ssr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickjer%2Fdocker-ssr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickjer%2Fdocker-ssr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickjer%2Fdocker-ssr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickjer","download_url":"https://codeload.github.com/nickjer/docker-ssr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickjer%2Fdocker-ssr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274902528,"owners_count":25371078,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-14T04:43:32.943Z","updated_at":"2026-02-13T00:48:09.738Z","avatar_url":"https://github.com/nickjer.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker SimpleScreenRecorder\n\nDocker image for [SimpleScreenRecorder](https://github.com/MaartenBaert/ssr).\n\n## Build\n\n```sh\ngit clone https://github.com/nickjer/docker-ssr.git\ncd docker-ssr\ndocker build --force-rm -t nickjer/ssr .\n```\n\n## Install\n\n```sh\ndocker pull nickjer/docker-ssr\n```\n\n## Usage\n\n```sh\n# First make the directory that will hold config files and videos\nmkdir ${HOME}/ssr\n\n# Run the docker image\ndocker run --rm -i -t \\\n  -v \"/etc/localtime:/etc/localtime:ro\" \\\n  -v \"/tmp/.X11-unix:/tmp/.X11-unix:ro\" \\\n  -v \"/run/user/$(id -u)/pulse/native:/pulse/socket:ro\" \\\n  -v \"${HOME}/.config/pulse/cookie:/pulse/cookie:ro\" \\\n  -v \"${HOME}/ssr:/data\" \\\n  --device=\"/dev/snd:/dev/snd\" \\\n  -e \"DISPLAY=${DISPLAY}\" \\\n  -e \"PULSE_SERVER=/pulse/socket\" \\\n  -e \"PULSE_COOKIE=/pulse/cookie\" \\\n  -u \"$(id -u):$(id -g)\" \\\n  --pid=\"host\" \\\n  --ipc=\"host\" \\\n  nickjer/docker-ssr\n```\n\n### Docker Compose\n\nIt is recommended to use [Docker Compose](https://docs.docker.com/compose/). An\nexample `docker-compose.yml` is seen as:\n\n```yaml\nversion: \"2\"\nservices:\n  ssr:\n    image: \"nickjer/docker-ssr\"\n    volumes:\n      - \"/etc/localtime:/etc/localtime:ro\"\n      - \"/tmp/.X11-unix:/tmp/.X11-unix:ro\"\n      - \"/run/user/1000/pulse/native:/pulse/socket:ro\"\n      - \"${HOME}/.config/pulse/cookie:/pulse/cookie:ro\"\n      - \"${HOME}/ssr:/data\"\n    devices:\n      - \"/dev/snd:/dev/snd\"\n    environment:\n      DISPLAY: \"${DISPLAY}\"\n      PULSE_SERVER: \"/pulse/socket\"\n      PULSE_COOKIE: \"/pulse/cookie\"\n    user: \"1000:1000\"\n    pid: \"host\"\n    ipc: \"host\"\n```\n\nThen run:\n\n```sh\ndocker-compose run --rm ssr\n```\n\n## How it Works?\n\n### GUI Display\n\nThe options:\n\n```sh\n...\n  -v \"/tmp/.X11-unix:/tmp/.X11-unix:ro\" \\\n  -e \"DISPLAY=${DISPLAY}\" \\\n  --ipc=\"host\"\n```\n\nare necessary to get the GUI running in your display. In particular the\n`--ipc=\"host\"` is needed for the QT shared memory.\n\n### ALSA Sound\n\nThe option:\n\n```sh\n...\n  --device=\"/dev/snd:/dev/snd\"\n```\n\nis necessary to add ALSA for sound recording.\n\n### Pulse Sound\n\nThe options:\n\n```sh\n...\n  -v \"/run/user/$(id -u)/pulse/native:/pulse/socket:ro\" \\\n  -v \"${HOME}/.config/pulse/cookie:/pulse/cookie:ro\" \\\n  -e \"PULSE_SERVER=/pulse/socket\" \\\n  -e \"PULSE_COOKIE=/pulse/cookie\" \\\n  --pid=\"host\"\n```\n\nare necessary to connect to the PulseAudio socket with your cookie for\nauthorization. The `--pid=\"host\"` is needed so it can find the host machine's\nPulseAudio server PID. This may be overkill, but it works.\n\n### Save Configuration \u0026 Videos\n\nI create a directory:\n\n```sh\nmkdir ${HOME}/ssr\n```\n\nand mount this to the `/data` directory in the container for all the output:\n\n```sh\n...\n  -v \"${HOME}/ssr:/data\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickjer%2Fdocker-ssr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickjer%2Fdocker-ssr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickjer%2Fdocker-ssr/lists"}