Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include support for running locally in docker container #220

Closed
3100tobo opened this issue Mar 27, 2023 · 3 comments
Closed

Include support for running locally in docker container #220

3100tobo opened this issue Mar 27, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@3100tobo
Copy link

3100tobo commented Mar 27, 2023

Is your feature request related to a problem? Please describe.
There seems to be no docker/container support in Bridge to k8s, which is very surprising to me.
I would like to run my app in local environment inside container using Docker launch profile and not using Kestrel server.
The launch profile used by Bridge appears to look for another profile having "Project" command in launch settings and this cannot be changed, so app runs locally on developer's machine and not inside a container.

Mention what platform you want to support the new feature
All OS platforms, Visual Studio

Describe the solution you'd like
Allow using Docker profile in launch settings instead of Kestrel server.

Describe alternatives you've considered
none

Additional context
Main motivation:
running app locally with local installed versions of libraries/frameworks feels like a step back and it contradicts the general idea of containerization

@sabbour sabbour added the enhancement New feature or request label Apr 5, 2023
@hsubramanianaks
Copy link
Collaborator

@3100tobo Thanks for raising this issue. I have few questions, is the request to support bridge to k8s in containerized mode ex: run your apps in local docker containers and still able to access your k8s cluster and debug them? please correct me If I am wrong.

@3100tobo
Copy link
Author

That's correct.
I believe one should always run the app code inside the container - code is later deployed to k8s as a container and we should do the same locally to mimic its behaviour.

@hsubramanianaks
Copy link
Collaborator

Closing this one as duplicate of #269.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants