Hi @alice alice ,
It’s about debugging a Docker container process remotely. Kindly see this document: Attach to a process running on a Linux Docker container.
On step3, the document says:
To debug a Docker container process remotely:
You can connect to a running process in a Docker container using one of two options. The first option, to use SSH, is ideal if you don’t have Docker tools installed on your local machine. If you do have Docker tools installed locally and you have a Docker daemon that’s configured to accept remote requests, try the second option, using a Docker daemon.
The document also introduces how to debug a Docker container process locally:
To debug a Docker container process locally:
a. Set Docker CLI host to Local Machine.
b. Select a running container to attach to from the list and hit OK.
You can follow above steps and debug locally.
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.