4 ms·
It's integrated into vs code and nearly transparent. Like they said, someone new to a project can just open the IDE and their environment is automatically setu
by qbasic_forever 3y ago
It's integrated into vs code and nearly transparent. Like they said, someone new to a project can just open the IDE and their environment is automatically setup vs. spending days installing tools from a (likely) undocumented and out of date process.
- jabradoodle 3y agoYou haven't answered the question, it doesn't take days if you use a standard dockerfile, and it can be used by team members who don't use vscode.
- qbasic_forever 3y agoYou don't understand the feature. Devcontainers can use any plain old dockerfile or docker compose file, it's literally part of the spec. You can do exactly what you're saying--have a dockerfile as the source of truth--right now. And you can install the devcontainer CLI and use it outside vs code if necessary too: https://code.visualstudio.com/docs/devcontainers/devcontainer-cli https://code.visualstudio.com/docs/devcontainers/devcontaine...
- axlee 3y agoWhat are devcontainers bringing more than what "docker-compose up" already does, if your app is already compose-ready for local?
- qbasic_forever 3y agoAgain, it's integrated in vs code and GitHub codespaces. If you open your project in vs code it detects the devcontainer config and automatically launches the container using docker, connects vs code remotely to code in the container, and pops open any terminals or tool executions in the container. On GitHub codespaces it gives you a button on the website that is literally one click and get vs code in the browser connected to your dev container launched in their cloud--you don't even need vs code or anything installed and can code from a tablet for example.
- deleted 3y ago[deleted]
- jabradoodle 3y agoI didn't realize there was an open source cli, true. However > vs. spending days installing tools from a (likely) undocumented and out of date process This makes no sense, that is not an advantage over a dockerfile.