{"id":16709290,"url":"https://github.com/mrlesmithjr/docker-m1-development","last_synced_at":"2025-04-10T05:34:00.694Z","repository":{"id":142637289,"uuid":"431906410","full_name":"mrlesmithjr/docker-m1-development","owner":"mrlesmithjr","description":"Apple M1 development using Docker","archived":false,"fork":false,"pushed_at":"2023-06-02T17:06:20.000Z","size":18,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T06:51:46.176Z","etag":null,"topics":["docker","dockerfile","dockerfiles"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/mrlesmithjr.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":"2021-11-25T16:13:51.000Z","updated_at":"2023-05-24T15:40:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"457b942a-0e38-46c3-825d-af566a5b3dd6","html_url":"https://github.com/mrlesmithjr/docker-m1-development","commit_stats":null,"previous_names":[],"tags_count":3,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fdocker-m1-development","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fdocker-m1-development/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fdocker-m1-development/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fdocker-m1-development/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrlesmithjr","download_url":"https://codeload.github.com/mrlesmithjr/docker-m1-development/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248163211,"owners_count":21057889,"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":["docker","dockerfile","dockerfiles"],"created_at":"2024-10-12T20:04:26.280Z","updated_at":"2025-04-10T05:34:00.666Z","avatar_url":"https://github.com/mrlesmithjr.png","language":"Shell","funding_links":["https://www.buymeacoffee.com/mrlesmithjr"],"categories":[],"sub_categories":[],"readme":"# docker-m1-development\n\nJust a little repo I am putting together as I transition to using an Apple M1 Pro for\ndevelopment, etc. For now, my intent is to make a switch to a [VSCode Development Container](https://code.visualstudio.com/docs/remote/containers).\n\n## Docker Management\n\nThe Docker CLI utils are installed within the container and `/var/run/docker.sock` is\nmounted from the host into the container. This allows us to manage Docker on the host.\nThis functionality is also configued to not require `sudo`.\n\n```bash\n❯ docker ps\nCONTAINER ID   IMAGE                                                        COMMAND                  CREATED         STATUS         PORTS     NAMES\n2a8790ac3739   vsc-docker-m1-development-a43f11da8205683013f00548b1727037   \"/bin/sh -c 'echo Co…\"   5 minutes ago   Up 5 minutes             nice_meninsky\n❯ docker images\nREPOSITORY                                                   TAG       IMAGE ID       CREATED             SIZE\nvsc-docker-m1-development-a43f11da8205683013f00548b1727037   latest    ceb1f3a42beb   6 minutes ago       1.02GB\n\u003cnone\u003e                                                       \u003cnone\u003e    0f0317605b5e   12 minutes ago      1.02GB\n\u003cnone\u003e                                                       \u003cnone\u003e    8b35f448fe20   32 minutes ago      1.02GB\n\u003cnone\u003e                                                       \u003cnone\u003e    43d541e4de65   38 minutes ago      1.02GB\n\u003cnone\u003e                                                       \u003cnone\u003e    980ae74f880b   About an hour ago   861MB\n\u003cnone\u003e                                                       \u003cnone\u003e    c556b0a7ca3f   2 hours ago         861MB\n\u003cnone\u003e                                                       \u003cnone\u003e    e50080efa24f   4 hours ago         861MB\n\u003cnone\u003e                                                       \u003cnone\u003e    ad1cdd236413   4 hours ago         427MB\n  /workspaces/docker-m1-development on   main ❯                                                                                                       at  22:46:04\n```\n\n## Usage\n\n### Docker Image(s)\n\nThe default image defined in [.devcontainer/devcontainer.json](.devcontainer/devcontainer.json)\nis `mrlesmithjr/docker-m1-development:arm64` but, you can also change this to `mrlesmithjr/docker-m1-development:amd64` for `X86` environments. The intent is for developing on Apple\nM1, but you have flexibility based on your needs.\n\n### Additional Configs\n\nYou can find pre-defined scripts in [config/](config/) for installing additional tools,\netc. These are meant to not be included in the default base image and only used if\ndesired.\n\n### Mounts\n\nSome pre-defined mounts are added to [.devcontainer/devcontainer.json](.devcontainer/devcontainer.json)\nbut, you can modify these as needed. The defaults are likely not present on your\ncomputer which will cause errors, but you can add these in your home directory or remove\nthem from the config.\n\n## Build Source\n\nYou can find the build source for this [here](https://github.com/mrlesmithjr/docker-m1-development-src).\n\n## Licensing\n\nThe current licensing model is MIT by default.\n\n## Author Information\n\nLarry Smith Jr.\n\n- [@mrlesmithjr](https://twitter.com/mrlesmithjr)\n- [EverythingShouldBeVirtual](http://everythingshouldbevirtual.com)\n- [mrlesmithjr@gmail.com](mailto:mrlesmithjr@gmail.com)\n\n\n\u003ca href=\"https://www.buymeacoffee.com/mrlesmithjr\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlesmithjr%2Fdocker-m1-development","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrlesmithjr%2Fdocker-m1-development","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlesmithjr%2Fdocker-m1-development/lists"}