question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Outside container

See original GitHub issue

This is a feature request, and might be definitely out of the main scope of the project.

It would be interesting for me, to be able to set up a local machine with the same settings of a devcontainer. I know it is not the same thing, and there are other tools available to manage machine installations, but the consideration stems from Codespace and similar environments: if I can give people an environment to use remotely, I’d like to make it easy for them to set up the same environment locally, if possible.

Essentially, devcontainer.json is giving a well-defined way to configure a remote environment, but sometimes you also want to work locally, and while working locally you might want to have the same environment of a specific remote, but you definitely don’t want to run in a container most of your time (though it’s of course an option).

However, it might be a silly idea, so I’m open to considerations.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
chrmarticommented, Dec 14, 2022

We are focusing on containers at the moment, so I’m closing this as out of scope. Thanks for discussing this.

0reactions
AleCandidocommented, Nov 14, 2022

The feature install scripts actually expect to be run on Linux.

Indeed, this one I acknowledged also above.

FYI: You can start a dev container locally without VS Code by using the dev container CLI directly

And this is why I opened the PR on this repo ^^

But, from what I understood from the README, even the CLI will run all the install.sh inside a container. That is fine, and already useful even outside VS code.

The PR instead was intended to request to be able to use the CLI to run all the install scripts (install.sh), identified by the devcontainer.json, on the native system. Of course it is not ideal, because being a Node CLI you need to install at least Node to get started, so it is definitely not a “fresh environment” like a container would be. Of course, also this problem might be solved by a stand-alone binary, reimplementing the logic of https://www.npmjs.com/package/@devcontainers/cli in a compiled application, and distributing binaries. But to be honest, personally I don’t care so much, and I can accept to install on a system on which Node has been already installed (i.e. to give up on managing Node function by devcontainers.json) 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Outdoor Storage Containers - Amazon.com
Amazon.com: Outdoor Storage Containers. ... Devoko 100 Gallon Waterproof Large Resin Deck Box Indoor Outdoor Lockable Storage Container for Patio Furniture.
Read more >
Deck Boxes - Patio Storage - The Home Depot
XL Outdoor Storage Box Waterproof, Resin Rattan Deck Box for Patio Garden Furniture, Outdoor Cushion Storage.
Read more >
Outdoor Storage Bin - Target
Shop Target for outdoor storage bin you will love at great low prices. ... Barton Outdoor 120 Gallons Deck Box Resin Patio Storage...
Read more >
Outdoor Storage Container | Wayfair
Shop Wayfair for the best outdoor storage container. Enjoy Free Shipping on most stuff, even big stuff.
Read more >
Outdoor Storage | The Container Store
Shop The Container Store's outdoor storage collection & get free shipping on orders of $75 or more + free in-store pickup every day....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found