{"id":16532996,"url":"https://github.com/jeff-pedro/learn-docker","last_synced_at":"2026-05-04T17:34:48.005Z","repository":{"id":230269992,"uuid":"778942527","full_name":"jeff-pedro/learn-docker","owner":"jeff-pedro","description":"Repository used to learn about Docker.","archived":false,"fork":false,"pushed_at":"2024-04-05T16:49:55.000Z","size":1791,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-03T12:31:31.992Z","etag":null,"topics":["docker","docker-compose"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/jeff-pedro.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":"2024-03-28T18:01:26.000Z","updated_at":"2024-03-28T18:19:30.000Z","dependencies_parsed_at":"2025-03-03T12:41:59.252Z","dependency_job_id":null,"html_url":"https://github.com/jeff-pedro/learn-docker","commit_stats":null,"previous_names":["jeff-pedro/learn-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeff-pedro/learn-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-pedro%2Flearn-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-pedro%2Flearn-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-pedro%2Flearn-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-pedro%2Flearn-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeff-pedro","download_url":"https://codeload.github.com/jeff-pedro/learn-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-pedro%2Flearn-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32617994,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","docker-compose"],"created_at":"2024-10-11T18:13:54.394Z","updated_at":"2026-05-04T17:34:47.977Z","avatar_url":"https://github.com/jeff-pedro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learning Docker\n\u003e Used to explore the Docker world!\n\n## Resources\n- [Docker official doc]()\n\n## Explored\n\n### [Dockerfile]()\n\n1. start app build with Dockerfile\n```shell\ndocker run -dp 3000:3000 \\ \n-w /app -v \"$(pwd):/app\" \\\n--network todo-app \\\n-e MYSQL_HOST=mysql \\\n-e MYSQL_USER=root \\\n-e MYSQL_PASSWORD=secret \\\n-e MYSQL_DB=todos \\\nnode:18-alpine \\\nsh -c \"yarn install \u0026\u0026 yarn run dev\"\n``` \n\n2. start database\n```shell\ndocker run -d \\            \n--network todo-app --network-alias mysql \\\n-v todo-mysql-data:/var/lib/mysql \\\n-e MYSQL_ROOT_PASSWORD=secret \\\n-e MYSQL_DATABASE=todos \\\nmysql:8.0\n```\n \n### [Docker Compose]()\n\n**Tests**\n\n- run unit tests\n```shell\ndocker compose run app yarn run test\n```\n\n- run test during image is built\n```shell\ndocker build -t node-docker-image-test --progress=plain --no-cache --target test .\n```\n \n### Docker Swarm\n- ...\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeff-pedro%2Flearn-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeff-pedro%2Flearn-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeff-pedro%2Flearn-docker/lists"}