{"id":16782145,"url":"https://github.com/arup-g/docker-go-server","last_synced_at":"2026-04-30T06:39:58.158Z","repository":{"id":193912941,"uuid":"689714610","full_name":"ARUP-G/Docker-go-server","owner":"ARUP-G","description":"Containerized Golang Server ","archived":false,"fork":false,"pushed_at":"2024-02-12T19:49:06.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-30T06:39:57.183Z","etag":null,"topics":["container","docker","golang","image","server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ARUP-G.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":"2023-09-10T17:18:42.000Z","updated_at":"2023-10-10T15:07:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd273290-7229-451b-a301-e4dece273c42","html_url":"https://github.com/ARUP-G/Docker-go-server","commit_stats":null,"previous_names":["arup-g/docker-go-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ARUP-G/Docker-go-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARUP-G%2FDocker-go-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARUP-G%2FDocker-go-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARUP-G%2FDocker-go-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARUP-G%2FDocker-go-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ARUP-G","download_url":"https://codeload.github.com/ARUP-G/Docker-go-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARUP-G%2FDocker-go-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32457110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["container","docker","golang","image","server"],"created_at":"2024-10-13T07:44:33.549Z","updated_at":"2026-04-30T06:39:58.143Z","avatar_url":"https://github.com/ARUP-G.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Golang Server\n\n\nThis repository provides a Docker image for running a simple Golang server. The server serves a \"Hello\" message over HTTP on port 8080.\n\n## Usage\n\nTo use this Docker image, follow these steps:\n\n### Step 1: Clone the Repository\n\nClone this repository to your local machine:\n\n```bash\n    git clone https://github.com/ARUP-G/Docker-go-server.git\n    cd Docker-go-server\n```\n\n### Step 2: Build the Docker Image\n\nBuild the Docker image using the provided *Dockerfile*:\n```bash\n    docker build -t docker-go-server .\n```\n\n### Step 3: Run Docker Container\n\nRun a Docker container from the image you just built:\n```bash\n    docker run -p 8080:8081 -it docker-go-server\n```\n'-p' maps port 8081 from the container to port 8080 on your host machine.\n\n### Step 4: Access the Golang Server\nYou can access the Golang server by opening a web browser and navigating to http://localhost:8080 or using a tool like *'curl'*:\n\n```bash\n    curl http://localhost:8080\n```\nYou should see the \"Hello!\" message in the response.\n\n### Step 5: Stop and Remove the Docker Container\nWhen you are done using the Golang server, you can stop and remove the Docker container:\n```bash\n    docker stop docker-go-server\n    docker rm docker-go-server\n```\n## Customization\nIf you want to customize the Golang server code, you can edit the *'main.go'* file in the repository. After making your changes, rebuild the Docker image using the same *'docker build'* command mentioned in Step 2.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farup-g%2Fdocker-go-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farup-g%2Fdocker-go-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farup-g%2Fdocker-go-server/lists"}