{"id":16533573,"url":"https://github.com/af/nginx-docker","last_synced_at":"2026-06-09T10:31:30.670Z","repository":{"id":137143586,"uuid":"13987810","full_name":"af/nginx-docker","owner":"af","description":"Simple example of running nginx within Docker. For pedagogical purposes only.","archived":false,"fork":false,"pushed_at":"2013-10-31T15:10:57.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T07:04:31.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/af.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}},"created_at":"2013-10-30T13:48:23.000Z","updated_at":"2013-10-31T15:11:02.000Z","dependencies_parsed_at":"2023-03-12T01:15:24.427Z","dependency_job_id":null,"html_url":"https://github.com/af/nginx-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/af/nginx-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/af%2Fnginx-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/af%2Fnginx-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/af%2Fnginx-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/af%2Fnginx-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/af","download_url":"https://codeload.github.com/af/nginx-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/af%2Fnginx-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34103355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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-10-11T18:15:16.245Z","updated_at":"2026-06-09T10:31:30.650Z","avatar_url":"https://github.com/af.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple Nginx setup in Docker\n============================\n\nJust a quick and dirty example of how to create and run a simple docker\ncontainer, since I seem to easily forget.\n\n\n## Usage\n\n```\n# First, copy this repo's contents into the Vagrant VM\n\ncd nginx-docker/\ndocker build .\n\n# Create and run a new container using the image we just created:\n# Note: with docker 0.6.5 you seem to need to pass \"-p 80\" as well\ndocker run \u003cimage id\u003e -d\n\n# Get the port that nginx is mapped to:\ndocker port \u003ccontainer id\u003e 80\n\n# Vefify that we get our expected test page back:\nwget localhost:\u003cport\u003e\n```\n\n\n## Debugging\n\n```\n# You can open a shell inside a new container:\ndocker run -i -t \u003cimage id\u003e /bin/bash\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faf%2Fnginx-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faf%2Fnginx-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faf%2Fnginx-docker/lists"}