{"id":18364585,"url":"https://github.com/mukul273/dockerdemo","last_synced_at":"2026-04-19T14:02:50.122Z","repository":{"id":177639533,"uuid":"136603018","full_name":"mukul273/dockerDemo","owner":"mukul273","description":"Spring boot, Docker integration.","archived":false,"fork":false,"pushed_at":"2018-06-09T14:24:42.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T13:36:20.043Z","etag":null,"topics":["docker","java-8","spring","springboot"],"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/mukul273.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-08T10:13:29.000Z","updated_at":"2018-06-09T14:26:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9d89985-29ca-4afc-884f-fce722bf5e24","html_url":"https://github.com/mukul273/dockerDemo","commit_stats":null,"previous_names":["mukul273/dockerdemo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mukul273/dockerDemo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukul273%2FdockerDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukul273%2FdockerDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukul273%2FdockerDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukul273%2FdockerDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mukul273","download_url":"https://codeload.github.com/mukul273/dockerDemo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukul273%2FdockerDemo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32009239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["docker","java-8","spring","springboot"],"created_at":"2024-11-05T23:10:58.708Z","updated_at":"2026-04-19T14:02:50.083Z","avatar_url":"https://github.com/mukul273.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"This Spring boot app deployment on Docker\n\nDocker needs Dockerfile (mind the name and case).\n\nGo to hub.docker.com to check. It's a repository like mavencentral etc.\n\nFROM - means get the image from docker hub to tell what type of application is this that we want to run on docker\n\nADD - means add the application jar into the docker container to run (built jar path in application). The second parameter is the path where the docker should copy and deploy the jar file. So we can have something like /tmp/Dockerdemo.jar or just Dockerdemo.jar for coping the file to root.\n\nEXPOSE expose the application to a specific port\n\nENTRYPOINT - main command to run like java etc. Docker wouldn't know which command to execute to run the app.\n\nWe need to deploy the app jar into an docker image and then we need to start that image.\n\nto build an image\ndocker build -f Dockerfile -t docker-spring-boot .\n\n-f for Dockerfile\n-t for tag name\n\n** make sure that you run build command in the same folder which is your application root folder.\n* last . (dot) will tell to go and find the app root folder to build the image\n\ndocker images  - this command will give the list of images available. run this after the above coomand is completed.\n\ndocker run -p 8085:8085 docker-spring-boot\n\n-p for publish the image on the port 8085 \n\n8085:8085 this means that mao the machine's 8085 port to the containers 8085 port since we have mentioned in the Dockerfile that we want to use 8085 port. ** Port may be user specific.\n\ndocker-spring-boot is the iamge name given earlier\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukul273%2Fdockerdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmukul273%2Fdockerdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukul273%2Fdockerdemo/lists"}