{"id":20955143,"url":"https://github.com/bryik/docker-example","last_synced_at":"2026-04-14T01:31:20.895Z","repository":{"id":70396716,"uuid":"184503936","full_name":"bryik/docker-example","owner":"bryik","description":"A small Dockerized Python app for example purposes.","archived":false,"fork":false,"pushed_at":"2019-05-02T01:21:15.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-02T12:37:06.666Z","etag":null,"topics":["docker","python"],"latest_commit_sha":null,"homepage":null,"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/bryik.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":"2019-05-02T01:21:11.000Z","updated_at":"2019-05-02T01:21:39.000Z","dependencies_parsed_at":"2023-04-24T19:47:10.379Z","dependency_job_id":null,"html_url":"https://github.com/bryik/docker-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bryik/docker-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryik%2Fdocker-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryik%2Fdocker-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryik%2Fdocker-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryik%2Fdocker-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryik","download_url":"https://codeload.github.com/bryik/docker-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryik%2Fdocker-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31778580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T00:11:49.126Z","status":"ssl_error","status_checked_at":"2026-04-14T00:10:29.837Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","python"],"created_at":"2024-11-19T01:18:13.256Z","updated_at":"2026-04-14T01:31:20.867Z","avatar_url":"https://github.com/bryik.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# writing-docker-example\n\nThis repo is an example of a toy Docker application used in the blog post \"Writing Dockerfiles\".\n\n## How to use\n\nAfter cloning the repo, open a terminal in the root directory and then run:\n\n```bash\ndocker-compose up\n```\n\nThe image should build and then run:\n\n```bash\nAttaching to docker-example_scraper_1\nscraper_1  | \u003cbody\u003e\nscraper_1  | \u003cdiv\u003e\nscraper_1  | \u003ch1\u003eExample Domain\u003c/h1\u003e\nscraper_1  | \u003cp\u003eThis domain is established to be used for illustrative examples in documents. You may use this\nscraper_1  |     domain in examples without prior coordination or asking for permission.\u003c/p\u003e\nscraper_1  | \u003cp\u003e\u003ca href=\"http://www.iana.org/domains/example\"\u003eMore information...\u003c/a\u003e\u003c/p\u003e\nscraper_1  | \u003c/div\u003e\nscraper_1  | \u003c/body\u003e\ndocker-example_scraper_1 exited with code 0\n```\n\n## Other commands\n\n### Building the image\n\n```bash\ndocker build -t names-are-hard .\n```\n\n### Running the image\n\n```bash\ndocker run names-are-hard\n```\n\n### Interactive mode\n\nThis command runs the image, but instead of executing `main.py` you will be dropped into a bash prompt inside the container. This is very useful for testing commands before committing them to a Dockerfile.\n\n```bash\ndocker run -it names-are-hard bash\n```\n\nFrom the bash prompt, try `ls`. What files do you see?\n\nTo **exit** the prompt, hit `CTRL-D`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryik%2Fdocker-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryik%2Fdocker-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryik%2Fdocker-example/lists"}