{"id":25072472,"url":"https://github.com/upcloudltd/hello-container","last_synced_at":"2026-02-02T07:34:09.787Z","repository":{"id":61262187,"uuid":"549695875","full_name":"UpCloudLtd/hello-container","owner":"UpCloudLtd","description":"Simple container for testing and demonstrating container and pod networking.","archived":false,"fork":false,"pushed_at":"2023-11-23T12:48:59.000Z","size":243,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-31T17:56:00.713Z","etag":null,"topics":["container","container-image","demo","demo-application","hello-world","server","testing","webserver"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UpCloudLtd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-10-11T15:34:34.000Z","updated_at":"2022-10-11T16:56:02.000Z","dependencies_parsed_at":"2023-11-23T12:50:34.248Z","dependency_job_id":null,"html_url":"https://github.com/UpCloudLtd/hello-container","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/UpCloudLtd/hello-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpCloudLtd%2Fhello-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpCloudLtd%2Fhello-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpCloudLtd%2Fhello-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpCloudLtd%2Fhello-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UpCloudLtd","download_url":"https://codeload.github.com/UpCloudLtd/hello-container/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpCloudLtd%2Fhello-container/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263233858,"owners_count":23434890,"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":["container","container-image","demo","demo-application","hello-world","server","testing","webserver"],"created_at":"2025-02-06T22:29:28.789Z","updated_at":"2026-02-02T07:34:09.762Z","avatar_url":"https://github.com/UpCloudLtd.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hello-container\n\nSimple container for testing and demonstrating\n\n- container and pod networking, and\n- (rolling) deployment updates.\n\nThe container runs an nginx server that (from the `/` root route) returns either HTML or TXT response with `Hello! 👋` message as well as containers hostname and address.\n\n## Usage\n\nTo create a deployment and expose it from your Kubernetes cluster, run:\n\n```sh\nkubectl create deployment --image=ghcr.io/upcloudltd/hello hello\nkubectl expose deployment hello --port=80 --target-port=80 --type=LoadBalancer\nkubectl get svc -w\n```\n\nThis process might take a few minutes. After external IP for hello service is visible, use it to test that pod is reachabe from the internet. For example:\n\n```sh\n$ curl http://lb-${id}.upcloudlb.com\n```\n\nEnvironment variable `NGINX_PORT` can be used to change port that Nginx listens to.\n```sh\n$ docker run -e NGINX_PORT=8080 ghcr.io/upcloudltd/hello\n```\n\n## Development\n\nBuild `hello-container` image with:\n\n```sh\ndocker build . -t hello-container\n\n# With version note\ndocker build . -t hello-container --build-arg \"VERSION_NOTE=at $(git rev-parse HEAD)\"\n\n# With custom emoji and greeting\ndocker build . -t hello-container \\\n  --build-arg \"VERSION_NOTE=at $(git rev-parse HEAD)\" \\\n  --build-arg \"EMOJI=🐄\" \\\n  --build-arg \"HELLO=Moo\"\n```\n\nRun `hello-container` with:\n\n```sh\ndocker run -i -p 8080:80 --rm hello-container\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupcloudltd%2Fhello-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fupcloudltd%2Fhello-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupcloudltd%2Fhello-container/lists"}