how to develop linux on docker

alice alice 80 Reputation points
2024-12-26T09:13:03.74+00:00

My system is windows11 and use visual studio 2022.

I install docker on my windows and create a image docker

How to use the vs to link the linux docker.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,343 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 32,146 Reputation points Microsoft Vendor
    2024-12-26T11:49:52.7233333+00:00

    Hello @alice alice ,

    I think you can start from checking following documents:

    Adding Docker support

    Debug apps in a local Docker container

    Attach to a process running on a Docker container

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.