{"id":18715027,"url":"https://github.com/griffio/example-docker01","last_synced_at":"2025-10-28T01:03:30.164Z","repository":{"id":28124482,"uuid":"31623537","full_name":"griffio/example-docker01","owner":"griffio","description":"docker java chat","archived":false,"fork":false,"pushed_at":"2016-09-13T13:28:48.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T09:42:29.509Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/griffio.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":"2015-03-03T21:54:58.000Z","updated_at":"2016-09-13T13:28:32.000Z","dependencies_parsed_at":"2022-09-02T19:02:25.908Z","dependency_job_id":null,"html_url":"https://github.com/griffio/example-docker01","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fexample-docker01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fexample-docker01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fexample-docker01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fexample-docker01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/griffio","download_url":"https://codeload.github.com/griffio/example-docker01/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239576744,"owners_count":19662114,"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":"2024-11-07T13:07:18.968Z","updated_at":"2025-10-28T01:03:30.152Z","avatar_url":"https://github.com/griffio.png","language":"Java","readme":"# example-docker01\n\nUse gradle plugin \"com.bmuschko.docker\" to package and deploy to local docker repository.\n\nIt requires the docker remote api (tcp) to be enabled via http (127.0.0.1).\n\n## setup\n\nFor Linux\n\nDocker service setup \n~~~\nsudo systemctl enable docker\n~~~\nAdd current user to docker group to avoid use of sudo\n~~~\nsudo gpasswd -a griffio docker\n~~~\nRestart the system, check docker commands run without sudo\n~~~\ndocker images\n~~~\n\n## docker java chat\n\n### Java base images\n\nhttps://registry.hub.docker.com/u/azul/zulu-openjdk/\n\nDocker File\n~~~\nFROM azul/zulu-openjdk:7\nMAINTAINER griffio \"griffio@users.noreply.github.com\"\nADD docker01-0.1.0.tar /\nENTRYPOINT [\"/docker01-0.1.0/bin/docker01\"]\nEXPOSE 8080\n~~~\n\nApplication image tagged\n~~~\ndocker build -t=\"griffio/docker01\" build/docker\n~~~\n\nDocker run command - localhost:8080 on actual host will expose the docker run port 8080\n~~~\ndocker run --publish=\"8080:8080\" --hostname=\"docker01\" -it griffio/docker01 docker01 8080\n~~~\n\nDocker ps command in another terminal\n~~~\ndocker ps\n~~~\n\nCreate file /etc/systemd/system/docker-tcp.socket \n~~~\n[Unit]\nDescription=Docker Socket for the API\n\n[Socket]\nListenStream=2375\nBindIPv60Only=both\nService=docker.service\n\n[Install]\nWantedBy=sockets.target\n~~~\n\ncommands\n~~~\nsystemctl enable docker-tcp.socket\nsudo netstat -tunlp\n~~~\n\nRestart system\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriffio%2Fexample-docker01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgriffio%2Fexample-docker01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriffio%2Fexample-docker01/lists"}