{"id":27596307,"url":"https://github.com/easazade/learn_docker","last_synced_at":"2025-04-22T12:44:21.082Z","repository":{"id":262764604,"uuid":"888281671","full_name":"easazade/learn_docker","owner":"easazade","description":"Notes about docker","archived":false,"fork":false,"pushed_at":"2024-12-18T07:27:39.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-18T08:26:23.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/easazade.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-11-14T05:58:09.000Z","updated_at":"2024-12-18T07:27:43.000Z","dependencies_parsed_at":"2024-11-14T06:41:45.796Z","dependency_job_id":null,"html_url":"https://github.com/easazade/learn_docker","commit_stats":null,"previous_names":["easazade/learn_docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easazade%2Flearn_docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easazade%2Flearn_docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easazade%2Flearn_docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easazade%2Flearn_docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easazade","download_url":"https://codeload.github.com/easazade/learn_docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250242948,"owners_count":21398241,"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":"2025-04-22T12:44:20.440Z","updated_at":"2025-04-22T12:44:21.072Z","avatar_url":"https://github.com/easazade.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"A server app built using [Shelf](https://pub.dev/packages/shelf),\nconfigured to enable running with [Docker](https://www.docker.com/).\n\nThis sample code handles HTTP GET requests to `/` and `/echo/\u003cmessage\u003e`\n\n# Running the sample\n\n## Running with the Dart SDK\n\nYou can run the example with the [Dart SDK](https://dart.dev/get-dart)\nlike this:\n\n```\n$ dart run bin/server.dart\nServer listening on port 8080\n```\n\nAnd then from a second terminal:\n```\n$ curl http://0.0.0.0:8080\nHello, World!\n$ curl http://0.0.0.0:8080/echo/I_love_Dart\nI_love_Dart\n```\n\n## Running with Docker\n\nIf you have [Docker Desktop](https://www.docker.com/get-started) installed, you\ncan build and run with the `docker` command:\n\n```\n$ docker build . -t myserver\n$ docker run -it -p 8080:8080 myserver\nServer listening on port 8080\n```\n\nAnd then from a second terminal:\n```\n$ curl http://0.0.0.0:8080\nHello, World!\n$ curl http://0.0.0.0:8080/echo/I_love_Dart\nI_love_Dart\n```\n\nYou should see the logging printed in the first terminal:\n```\n2021-05-06T15:47:04.620417  0:00:00.000158 GET     [200] /\n2021-05-06T15:47:08.392928  0:00:00.001216 GET     [200] /echo/I_love_Dart\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasazade%2Flearn_docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasazade%2Flearn_docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasazade%2Flearn_docker/lists"}