{"id":36496075,"url":"https://github.com/Think-Cube/DockerWhoamiID","last_synced_at":"2026-01-12T02:04:20.399Z","repository":{"id":43058093,"uuid":"183224614","full_name":"Think-Cube/DockerWhoamiID","owner":"Think-Cube","description":"DockerWhoamiID: Docker container with a Go app to check and display container ID.","archived":false,"fork":false,"pushed_at":"2025-05-22T16:12:00.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T17:36:46.729Z","etag":null,"topics":["containeridgo","containerwhoami","dockercodeid","dockeridcheck","dockerinspectid","dockerverifyid","gocontainerid","idcheckergodocker","whoamidockerapp","whoamiindocker"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Think-Cube.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}},"created_at":"2019-04-24T12:30:14.000Z","updated_at":"2025-05-22T16:12:02.000Z","dependencies_parsed_at":"2024-03-27T04:57:19.269Z","dependency_job_id":"d1355c6f-24c5-40c5-a61d-654d83efddf7","html_url":"https://github.com/Think-Cube/DockerWhoamiID","commit_stats":null,"previous_names":["think-cube/dockerwhoamiid","spy86/docker-whoami"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Think-Cube/DockerWhoamiID","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Think-Cube%2FDockerWhoamiID","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Think-Cube%2FDockerWhoamiID/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Think-Cube%2FDockerWhoamiID/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Think-Cube%2FDockerWhoamiID/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Think-Cube","download_url":"https://codeload.github.com/Think-Cube/DockerWhoamiID/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Think-Cube%2FDockerWhoamiID/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["containeridgo","containerwhoami","dockercodeid","dockeridcheck","dockerinspectid","dockerverifyid","gocontainerid","idcheckergodocker","whoamidockerapp","whoamiindocker"],"created_at":"2026-01-12T02:01:22.765Z","updated_at":"2026-01-12T02:04:20.385Z","avatar_url":"https://github.com/Think-Cube.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DockerWhoamiID\n\nDockerWhoamiID is a simple Go application within a Docker container designed to check and display the container ID.\n\n## Getting Started\n\n### Prerequisites\n\n- Docker installed on your machine\n\n### Build and Run\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/Think-Cube/DockerWhoamiID.git\n   ```\n2. Build the Docker image:\n   ```bash\n   docker build -t dockerwhoamiid .\n   ```\n3. Run the Docker container:\n   ```bash\n   docker run -p 8000:8000 dockerwhoamiid\n   ```\nThe application will be accessible at http://localhost:8000.\n\n## Dockerfile\n\nThe Dockerfile defines the build process for the application. It uses a multi-stage build, first building the Go binary and then creating a lightweight image to run the application.\n\n## http.go\n\nThe `http.go` file contains the Go source code for the simple application. It listens on a specified port and responds with the container's hostname.\n\n## whoami@.service\n\nThe `whoami@.service` file is a systemd service unit for running the Docker container as a service.\n\n## License\n\nThis project is licensed under the [MIT License](https://opensource.org/licenses/MIT).\n\n## Contribution\n\nFeel free to contribute by opening issues or pull requests. Your feedback and improvements are highly appreciated!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThink-Cube%2FDockerWhoamiID","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FThink-Cube%2FDockerWhoamiID","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThink-Cube%2FDockerWhoamiID/lists"}