🌐
Development Containers
containers.dev › features
Features
Development containers documentation and specification page.
Available Dev Container Templates
Development containers documentation and specification page.
Supporting tools and services
The CLI can take a devcontainer.json and create and configure a dev container from it. It allows for prebuilding dev container configurations using a CI or DevOps product like GitHub Actions. It can detect and include dev container features and apply them at container runtime, and run lifecycle ...
Using Images, Dockerfiles, and Docker Compose
When creating a development container, you have a variety of different ways to customize your environment like “Features” or lifecycle scripts. However, if y...
Dev Container metadata reference
The devcontainer.json file contains any needed metadata and settings required to configure a development container for a given well-defined tool and runtime ...
🌐
GitHub
github.com › devcontainers › features
GitHub - devcontainers/features: A collection of Dev Container Features managed by Dev Container spec maintainers. See https://github.com/devcontainers/feature-starter to publish your own · GitHub
A collection of Dev Container Features managed by Dev Container spec maintainers. See https://github.com/devcontainers/feature-starter to publish your own - devcontainers/features
Starred by 1.4K users
Forked by 590 users
Languages   Shell
🌐
Development Containers
containers.dev › implementors › features
Dev Container Features reference
Each property mirrors the behavior of the matching property in devcontainer.json, including the behavior that commands are executed from the context of the project workspace folder. For each lifecycle hook (in Feature installation order), each command contributed by a Feature is executed in ...
🌐
GitHub
github.com › rocker-org › devcontainer-features
GitHub - rocker-org/devcontainer-features: A collection of Dev Container Features. · GitHub
This repository is based on the the devcontainers/features repository, and intended to make it easy to add Rocker Project related functionality.
Starred by 69 users
Forked by 18 users
Languages   Shell 99.2% | Dockerfile 0.8%
🌐
Visual Studio Code
code.visualstudio.com › blogs › 2022 › 09 › 15 › dev-container-features
Custom Dev Container Features
September 15, 2022 - You can also explore official and publicly contributed Features on the specification site. Any Feature can be added by editing devcontainer.json, and publicly published ones can be added through existing dev container configuration experiences (such as available in the VS Code Dev Containers extension).
🌐
Development Containers
containers.dev › guides.html
Dev Container Guides
January 23, 2024 - The flexibility of Features has enabled a wide variety of use cases, from installing a single tool to setting up specific aspects of a project’s development environment that can be shared across repositories.
🌐
Lukewiwa
lukewiwa.com › blog › dev_container_features
Dev Container Features
November 24, 2022 - Dev container features allows us to abstract all this away and install an extra layer on top of what your "production" Dockerfile will be. It also allows us to have one bit of abstracted code and use it in enumerable projects. All the above can be replaced with this addition to the devcontainer.j...
🌐
Redirect
rocker-project.org › images › devcontainer › features.html
Rocker Dev Container Features – Rocker Project
The Rocker Project provides some Dev Container Features for installing R or installing software often used with R. Source repository: rocker-org/devcontainer-features
Find elsewhere
🌐
Medium
girishcodealchemy.medium.com › devcontainers-streamlining-your-development-environment-5adb8f44f3e0
DevContainers: Streamlining Your Development Environment | by GirishCodeAlchemy | Medium
January 16, 2024 - DevContainers offers a practical solution for creating consistent, isolated, and portable development environments. By adopting DevContainers, teams can streamline their workflows, enhance collaboration, and simplify the onboarding process for ...
🌐
Development Containers
containers.dev › guide › author-a-feature
Authoring a Dev Container Feature
November 1, 2022 - The feature-starter repo contains a GitHub Action workflow that will publish each feature to GHCR. By default, each feature will be prefixed with the <owner/<repo> namespace. Using the hello world example from above, it can be referenced in a devcontainer.json with: ghcr.io/devcontainers/feature-starter/color:1.
🌐
DEV Community
dev.to › jajera › creating-your-own-dev-container-feature-for-vs-code-1men
Creating Your Own Dev Container Feature for VS Code - DEV Community
December 31, 2025 - Learn how to develop and publish custom Dev Container Features for VS Code, using the Amazon Q CLI feature as a practical example. Includes forking, feature creation, publishing to GHCR, and submitting to the official features index. Tagged with devcontainer, vscode, github, features.
🌐
Visual Studio Code
code.visualstudio.com › docs › devcontainers › tutorial
Dev Containers tutorial
November 3, 2021 - The Dev Containers extension uses the files in the .devcontainer folder, namely devcontainer.json, and an optional Dockerfile or docker-compose.yml, to create your dev containers.
🌐
Development Containers
containers.dev › implementors › features-distribution
Dev container Features contribution and discovery
For ease of authorship and maintenance, [1..n] features can share a single git repository. This set of Features is referred to as a “collection,” and will share the same devcontainer-collection.json file and “namespace” (eg.
🌐
PAUL'S BLOG
paulyu.dev › article › revisiting-devcontainer-features
Re-visiting Dev Container Features | PAUL'S BLOG
December 2, 2022 - Since my original post, @BrigitMurtaugh published a post on the VS Code blog announcing new repos, the open dev container specification and discussed a new way of adding features. If you haven’t read the post, go check it out here. Additionally, a community member submitted feedback in the new devcontainers/features repo suggesting that Azure CLI extensions should just be supported as part of the azure-cli feature.
🌐
Klabbet
blog.klabbet.com › 2023 › 01 › 08 › whats-a-devcontainer-and-what-is-it-good-for
What’s a devContainer and what is it good for?
January 8, 2023 - The devContainer has all the tools you’ll need for your development, Git, dotnet, nodejs, you name it.
Top answer
1 of 1
1

So, If for anyone who got the same problem as me, here how I got to work:

I have written the following commands to a bin/setup (autogenerated file by Rails).

puts "Installing zsh, plugins and its theme..."

# Executar comandos bash dentro do Ruby
system <<-BASH
  sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.1/zsh-in-docker.sh)" -- \
      -p git \
      -p https://github.com/zsh-users/zsh-autosuggestions \
      -p https://github.com/zsh-users/zsh-syntax-highlighting \
      -a 'export TERM=xterm-256color'

  echo 'DISABLE_AUTO_UPDATE=true' >> ~/.zshrc
  echo 'DISABLE_UPDATE_PROMPT=true' >> ~/.zshrc
  echo '[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh' >> ~/.zshrc
  echo 'eval "$(rbenv init -)"' >> ~/.zshrc
BASH

puts "Zsh configuration complete!"

This file is executed through the "postCreateCommand": "bin/setup --skip-server" at the end of the devcontainer.json file. Also I have my .zsh_history and .pd10k at a folder .docker/zsh inside my project to keep the history and the pd10k configuration and the following code inside my compose.yaml:

volumes:
      - ..:/workspaces/project-name:cached
      - ../.docker/zsh/powerlevel10k/.p10k.zsh:/home/vscode/.p10k.zsh:delegated
      - ../.docker/zsh/history/.zsh_history:/home/vscode/.zsh_history:delegated

Its both at .gitignore so each person has its own powerlevel10k configuration and zsh history. That it is!

Things that I also tried:

To use the zsh-plugins devcontainer plugin as follows:

"ghcr.io/devcontainers-extra/features/zsh-plugins:0": {
  plugins: "zsh-autosuggestions zsh-syntax-highlighting",
  omzPlugins: "ttps://github.com/zsh-users/zsh-autosuggestions.git https://github.com/zsh-users/zsh-syntax-highlighting.git"
}

And it also worked great! I would just place as last feature just to be sure.

What it didn't work:

  • To use the devcontainer feature powerlevel10k. It looks like the feature wasn't even there.
  • To use the devcontainer feature zsh and define its theme as "powerlevel10k/powerlevel10k" and plugins as "zsh-autosuggestions zsh-syntax-highlighting". The plugins weren't installed and neither the powerlevel10k theme. But at least it updated the ~/.zshrc file.
🌐
GitHub
github.com › w3cj › devcontainer-features
GitHub - w3cj/devcontainer-features · GitHub
devcontainers-extra/features for tons of features to use as examples / inspiration
Starred by 27 users
Forked by 5 users
Languages   Shell 99.7% | Makefile 0.3%
🌐
Development Containers
containers.dev › collections.html
Collections
Development containers documentation and specification page.
🌐
Ken Muse
kenmuse.com › blog › intro-to-dev-container-features
Intro to Dev Container Features - Ken Muse
January 21, 2023 - The feature-id can be in one of three general formats: A reference to an OCI registry (which covers most of the major container registries). These are in the form registry/namespace/repository:version. For example, ghcr.io/devcontainers/features/go:1 is using the GHCR.io registry, has the tenant namespace devcontainers, has the repository path features/go, and is version 1.