Learning about Development Containers
This requires to have the Docker on your machine.
-
-
[GitHub] devcontainers/spec - Development Containers: Use a container as a full-featured development environment.
-
[GitHub] devcontainers/templates - Repository for Dev Container Templates that are managed by Dev Container spec maintainers.
-
[GitHub] devcontainers/images - Repository for pre-built dev container images published under mcr.microsoft.com/devcontainers.
-
-
[YouTube Playlist] Dev Containers Overview | Visual Studio Code
-
[YouTube] Get Started with Dev Containers in VS Code | Visual Studio Code (2023/09/05)
-
[GitHub] microsoft/vscode-remote-try-python - Python sample project for trying out Dev Containers
-
Developing inside a Container using Visual Studio Code Remote Development | Visual Studio Code Docs
-
-
[YouTube] Different Ways to Run Dev Containers: VS Code vs CLI | Visual Studio Code (2023/10/04)
-
[YouTube] Dev Container Features & Lifecycle Hooks | Visual Studio Code (2024/02/28)
-
-
[YouTube] Working with Dev Containers by Chris Ayers | Devoxx (2023/05/16)
-
[YouTube] If you're not developing with this, you're wasting your time | Articulated Robotics (2024/01/05)
-
[YouTube] My Favorite Way To Handle Dev Environments - VS Code Devcontainers | DanCanCode (2023/01/12)
-
[YouTube] How To Set Up Local DevOps Environment With Docker using Dev Containers | Chandra Shettigar (2023/11/15)
-
[YouTube] How to build your first Devcontainer | GitHub (2024/03/19)
-
Using Devcontainers for Local Development | xMatters (2021/05/31)
-
Getting Started with Dev Containers | JosephGuadagno.net (2022/12/10)
-
[YouTube] Customize Dev Containers in VS Code with Dockerfiles and Docker Compose | Visual Studio Code (2024/01/31)
-
[YouTube] Working with Multiple Dev Containers in VS Code | Visual Studio Code (2023/11/30)
- [GitHub] madebygps/multiple-dev-container-vscode - An example repo on how to use multiple devcontainer.json files with VS Code.
If you get and issue while trying to commit your changes from inside of the devcontainer, the solution that I took on my case
- Make sure to have your ssh key for the git host mapped like the following example
# ~/.ssh/config
Host *
ForwardAgent yes
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/{private_ssh_key}
AddKeysToAgent yes
- On your
devconfig.json
file, add the following mount configuration
...
"mounts": [
"type=bind,source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,readonly"
]
...
- [GitHub] home-assistant/core - Open source home automation that puts local control and privacy first.
- [GitHub] devcontainers/cli - A reference implementation for the specification that can create and configure a dev container from a
devcontainer.json
.
-
DevPod - Open Source Dev-Environments-As-Code
-
[GitHub] loft-sh/devpod - Codespaces but open-source, client-only and unopinionated: Works with any IDE and lets you use any cloud, kubernetes or just localhost docker.
-
[YouTube] Introducing DevPod - Codespaces but Open Source | Loft Labs (2023/05/16)
- Introducing DevPod - Codespaces but Open Source | Loft Blog - DevPod does not host or manage the dev environments. Instead, DevPod introduces a way to define a dev environment which can then be run in any cloud infrastructure or even on a localhost machine using Docker or Kubernetes.
-
[YouTube] Running Dev Containers with DevPod | Containers from the Couch (2023/06/27)
-
[YouTube] Open Source Dev Containers with DevPod | Cloud Native Rejekts (2023/12/07)
-
[YouTube] Open Source Dev Containers for macOS with Colima and DevPod | Loft Labs (2023/11/23)
-
Open Source Dev Containers for macOS with Colima and DevPod | Loft Blog
-
[GitHub] abiosoft/colima - Container runtimes on macOS (and Linux) with minimal setup
-
-
Dev Containers extension - Open any folder or repository inside a Docker container and take advantage of Visual Studio Code's full feature set.
-
Remote Development extension pack - An extension pack that lets you open any folder in a container, on a remote machine, or in WSL and take advantage of VS Code's full feature set.