{"id":18212046,"url":"https://github.com/bedus-creation/docker-laravel-starter","last_synced_at":"2025-10-11T12:36:43.624Z","repository":{"id":100396612,"uuid":"176140551","full_name":"bedus-creation/Docker-laravel-starter","owner":"bedus-creation","description":"This is the setup where you can get start with laravel using docker.","archived":false,"fork":false,"pushed_at":"2023-02-02T06:38:00.000Z","size":223,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-07T21:16:21.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","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/bedus-creation.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":"2019-03-17T18:08:04.000Z","updated_at":"2019-12-20T09:25:06.000Z","dependencies_parsed_at":"2023-05-14T09:00:20.485Z","dependency_job_id":null,"html_url":"https://github.com/bedus-creation/Docker-laravel-starter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bedus-creation/Docker-laravel-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedus-creation%2FDocker-laravel-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedus-creation%2FDocker-laravel-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedus-creation%2FDocker-laravel-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedus-creation%2FDocker-laravel-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bedus-creation","download_url":"https://codeload.github.com/bedus-creation/Docker-laravel-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedus-creation%2FDocker-laravel-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007170,"owners_count":26084247,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","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":[],"created_at":"2024-11-03T15:04:29.991Z","updated_at":"2025-10-11T12:36:43.603Z","avatar_url":"https://github.com/bedus-creation.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Docker Image \nAn image is a combination of a file system and parameters\n* List Docker Image\n```\ndocker image ls\n```\n\n### Docker Container\nContainers are instances of Docker images that can be run using the Docker run command. The basic purpose of Docker is to run containers.\n\n* Get the docker container\n```\ndocker ps\n```\n\n* Update Docker\n```\ndocker build -t shippingdocker/app:latest \\\n    -f docker/app/Dockerfile \\\n    docker/app\n```\n* Run the docker Container\n```\ndocker run --rm -it shippingdocker/app:latest bash\n```\n* Sharing and Running the docker file\n```\ndocker run -d --rm -p 8080:80 -v \"$(pwd)/application:/var/www/html/public\" shippingdocker/app:latest nginx\n```\n* docker exac\n```\n```\n* Watch the current running process\n```\nps aux\n```\n* Statistics of a running container.\n```\ndocker stats ContainerID \n```\n* Process with in the container\n```\ndocker top ContainerID \n```\n* Docker Stop\n```\ndocker stop [ID]\n```\n* Remove the container\n```\ndocker rm ContainerID \n```\n\n### Docker Network \n* List networks\n```\ndocker network ls\n```\n* Create a network\n```\ndocker network create appnet\n```\n* Add \n```\ndocker run --rm -d \\\n    --name=app \\\n    --network=appnet\\\n     shippingdocker/app:latest\n\ndocker run --rm -d \\\n    --name=mysql \\\n    --network=appnet \\\n    -e MYSQL_ROOT_PASSWORD=root \\\n    -e MYSQL_DATABASE=homestead \\\n    -e MYSQL_USER=homestead \\\n    -e MYSQL_USER_PASSWORD=secret \\\n    mysql:5.7\n```\n* Inspect a network\n```\ndocker network inspect networkname \n```\n### Connection Docker network\n* Create laravel application\n```\ndocker run -it --rm -v $(pwd):/var/www/html \\\n    -w /var/www/html \\\n    shippingdocker/app:latest \\\n    composer create-project laravel/laravel application\n```\n* Run the laravel application in deamon\n```\ndocker run --name=app --network=appnet -d --rm -p 8080:80 -v \"$(pwd)/application:/var/www/html/application/\" shippingdocker/app:latest\n```\n* Run the php artisan commmand \n```\ndocker exec -it -w /var/www/html/application/ app php artisan list\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbedus-creation%2Fdocker-laravel-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbedus-creation%2Fdocker-laravel-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbedus-creation%2Fdocker-laravel-starter/lists"}