features
cli
features | cli | |
---|---|---|
7 | 10 | |
749 | 1,242 | |
2.9% | 3.6% | |
9.0 | 8.9 | |
5 days ago | 6 days ago | |
Shell | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
features
-
Dev Containers: Open, Develop, Repeat...
Dev Containers not only allow you to define which extensions should be installed and which configuration settings shall be set, but they also have something they call "Dev Container Features".
-
Unable to Change Workspace Folder Permissions (777 to 775) in WSL VSCode Devcontainer
json { "name": "Ubuntu", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/base:ubuntu", "features": { "ghcr.io/devcontainers/features/terraform": "latest", "ghcr.io/devcontainers/features/powershell": "latest", "ghcr.io/devcontainers/features/azure-cli": "latest" }, // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. // "postStartCommand": "uname -a", // "postCreateCommand": "sudo apt update; sudo apt upgrade -y;", "postAttachCommand": { "git-safe-directory": "git config --global --add safe.directory ${containerWorkspaceFolder}", "ansible_cfg_permissions": "sudo chmod o-w ${containerWorkspaceFolder}" }, "postCreateCommand": { "python": "sudo apt update; sudo apt upgrade -y; sudo apt install -y python3-pip postgresql-client; sudo python3 -m pip install --upgrade pip; pip3 install ansible python-hcl2 psycopg2-binary; ansible-galaxy collection install azure.azcollection", "populate-history": "echo 'ansible-playbook ansible/playbooks/netbox.yml' >> ~/.bash_history; echo 'terraform apply' >> ~/.bash_history; echo 'az login' >> ~/.bash_history" }, // Configure tool-specific properties. // "customizations": {}, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" "customizations": { "vscode": { "extensions": [ "GitHub.copilot", "GitHub.copilot-labs", "GitHub.vscode-pull-request-github", "redhat.ansible", "hashicorp.terraform", "ms-toolsai.jupyter", "ms-vscode.powershell", "HashiCorp.terraform", "eamodio.gitlens", "GitHub.copilot-chat" ] } } }
-
Take your development environment anywhere and on any machine with Dev Containers.
there are already built docker images for common development environment. You can either use one of them, or build one from Docker file. Using a pre-built dev container doesn't mean you are only limited to that image, because you can still add other tools, which they are called features to that image. For a list of the pre-built templates check here, and for the other features that you can add check this. You don't need a Docker file, unless you want to build your dev environment step by step.
-
VSCode & GitHub Codespaces for my Python playground
// For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/python { "name": "Python 3", "image": "mcr.microsoft.com/devcontainers/python:0-3.11", "features": { "ghcr.io/devcontainers/features/python:1": {} } // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. // "postCreateCommand": "pip3 install --user -r requirements.txt", // Configure tool-specific properties. // "customizations": {}, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" }
-
Containerizing devops tools with docker compose
This is actually very easy. I've implemented a number of tools like this publicly but the standard doesn't limit you to public stuff. I can't emphasize enough the amount of speed we gained when we implemented this standard. https://containers.dev/features
-
DevContainers for Azure and .NET
features: While you can add everything in Dockerfile for the build, there are already pre-configured features you can optionally add. You can find the complete list of the features at here. Some examples of those features are common utilities and tools like Azure CLI, GitHub CLI and Terraform, and languages like node.js, Java, .NET, Python, etc.
cli
-
Show HN: Lapdev, a new open-source remote dev environment management software
You still cannot stop, remove or update a Dev container from CLI and there at numerous issues with the rest of the implemented features.
[0]: https://github.com/devcontainers/cli?tab=readme-ov-file#cont...
-
Launching dev containers from code - is impossible?
Well, I got the hint from this GitHub issue. Also, it seems like at one time a devcontainer open command existed in the old dev container CLI (it does not exist anymore since the CLI wants to be editor-agnostic).
-
Dev Containers: Open, Develop, Repeat...
So you can use Dev Containers from the vscode user interface rather intuitively. All configurations can also be edited directly and there is even a CLI. However, this CLI is made editor agnostic, so there is no vscode integration.
-
Devcontainer CLI in Neovim
During the last past few days I've been working on a new neovim plugin: nvim-devcontainer-cli which gives you the possibility to build, run and connect to your Docker devcontainer using devcontainer-cli, which is the CLI used by the VS Code Devcontainer plugin.
-
DevContainers - Vscode Alternative
While doing a bit more research: https://github.com/devcontainers/cli and https://devcontainers.github.io/
-
Devcontainers without VSCode
If you want to support both use-cases (vim/Neovim & vscode), then vscode/MS broke out devcontainers feature from vscode into a separate project to support non-vscode users. Check out https://github.com/devcontainers/cli and https://devcontainers.github.io/
-
Are there better options for standardizing development environments than VS Code dev containers?
It's hard to ensure that a prebuilt image provides valid cache for the dev container (I actually submitted a PR to help with this, but I'm still seeing problems and haven't figured out why yet). When we have a cache miss, the build takes 10 minutes.
-
Creating a dev 'container' to make it easier on first timers
to add this this they recently defined "devcontainers" as a spec to help integrate it with other editors and also turn it into a CLI tool that is being heavily worked on https://containers.dev/ https://github.com/devcontainers/cli
-
Developing inside a Container using Visual Studio Code Remote Development.
the team have actually started developing devcontainers an an open specification for other IDEs to start integrating with along with a CLI tool they are developing to cutout the need for VS code all together. https://github.com/devcontainers/cli
-
Ask HN: Any Good Make Alternatives?
Haven't tested it myself, but there's now a cli to decouple devcontainers from VSCode:
https://github.com/devcontainers/cli
What are some alternatives?
templates - Repository for Dev Container Templates that are managed by Dev Container spec maintainers. See https://github.com/devcontainers/template-starter to create your own!
vscli - A CLI/TUI which makes it easy to launch vscode projects, with a focus on dev containers.
spec - Development Containers: Use a container as a full-featured development environment.
.dev-env-docker - Development Environments Inside Docker Container
devcontainers-dotnet.
images - Repository for pre-built dev container images published under mcr.microsoft.com/devcontainers
vscode-remote-release - Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
nvim-devcontainer-cli
zsh-autosuggestions - Fish-like autosuggestions for zsh
nvim-dev-container - Neovim dev container support - Mirror of https://codeberg.org/esensar/nvim-dev-container