{"id":18367699,"url":"https://github.com/jwplayer/geekfest-docker-demo","last_synced_at":"2026-01-22T20:10:12.504Z","repository":{"id":145494189,"uuid":"232831591","full_name":"jwplayer/geekfest-docker-demo","owner":"jwplayer","description":"This repo is for beginners trying to get themselves familiar with Docker and its implementation","archived":false,"fork":false,"pushed_at":"2020-02-18T20:29:22.000Z","size":28169,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T19:34:35.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":false,"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/jwplayer.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-01-09T14:47:07.000Z","updated_at":"2020-05-28T10:19:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"c706e06d-ebb2-4739-b890-52c8b4d9fd5f","html_url":"https://github.com/jwplayer/geekfest-docker-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jwplayer/geekfest-docker-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fgeekfest-docker-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fgeekfest-docker-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fgeekfest-docker-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fgeekfest-docker-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwplayer","download_url":"https://codeload.github.com/jwplayer/geekfest-docker-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fgeekfest-docker-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28670366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T19:36:09.361Z","status":"ssl_error","status_checked_at":"2026-01-22T19:36:05.567Z","response_time":144,"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":[],"created_at":"2024-11-05T23:23:02.767Z","updated_at":"2026-01-22T20:10:12.485Z","avatar_url":"https://github.com/jwplayer.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Install Docker:\n\n# https://docs.docker.com/install/\n\nVerify installation\n\n```\ndocker run hello-world\n```\n\nRun a python application in container using python 2 base image from docker hub.\n\n```\ndocker image build -t demo-py:v0.0 python_upgrade_demo/\n```\n\nTo see the built image\n```\ndocker images\n```\n\nRun Python2 container from the image\n\n```\ndocker run --rm --name \"demo-py-run\" demo-py:v0.0\n```\n\nUpdate base image to use python3 instead.\n\n```\ndocker image build -t demo-py:v1.0 python_upgrade_demo/\n```\n\nTo list all images\n```\ndocker images demo*\n```\n\nRun a new container with Python3 image and check the difference in the results of division for verification.\n```\ndocker run --name \"demo-py3-run1\" demo-py:v1.0\n```\n\nUpdate code to fix the bug.\n\n```\ndocker image build -t demo-py:v1.1 python_upgrade_demo/\n```\n\nRun a new container with Python3 image and check the difference in the results of division for verification.\n```\ndocker run --name \"demo-py-run2\" demo-python3:v0.0 \n```\n\nTo list all running containers\n```\ndocker ps -a\n```\n\nTo stop a running container\n\n```\ndocker stop demo-py2-run1\n```\n\nTo remove a container\n\n```\ndocker rm demo-py2-run1\n```\n\nTo remove an image\n\n```\ndocker rmi demo-python3-run1\n```\n\nTo remove all the containers\n\n```\ndocker rm $(docker ps -a -q)\n```\n\nTo remove all images\n\n```\ndocker rmi $(docker images demo* -q)\n```\n\n\n# PART 2: Container with FFMPEG \n\nBuild the container with ffmpeg and source code\n```\ndocker image build -t \"demo-ffmpeg:v0.0\" ffmpeg_demo/\n```\n\nRun the container \n```\ndocker run --rm --name \"demo-ffmpeg-run1\" demo-ffmpeg:v0.0\n```\n\nChecking logs\n```\ndocker container logs demo-py2-run5\n```\n\nAdd following to source code(transcode.sh)\n\n```\npython3 --version\n```\n\nUpdate dependencies\n\n```\nRUN apk add --no-cache ffmpeg python3\n```\n\nBuild the container with ffmpeg and source code\n```\ndocker image build -t \"demo-ffmpeg:v1.0\" ffmpeg_demo/\n```\n\nRun the container \n```\ndocker run --rm --name \"demo-ffmpeg-run2\" demo-ffmpeg:v1.0\n```\n\nReplace entry point with\n\n```\ntail -f /dev/null\n```\n\nBuild the container with ffmpeg and source code\n```\ndocker image build -t \"demo-ffmpeg:v1.1\" ffmpeg_demo/\n```\n\nRun the container \n```\ndocker run --name \"demo-ffmpeg-run3\" demo-ffmpeg:v1.1\n```\n\nLog into shell\n```\ndocker exec -it demo-ffmpeg-run3 sh\n\n```\n\nStop the running container\n\n```\ndocker stop demo-ffmpeg-run4\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwplayer%2Fgeekfest-docker-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwplayer%2Fgeekfest-docker-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwplayer%2Fgeekfest-docker-demo/lists"}