Skip to content

Commit d6f540f

Browse files
committed
update
1 parent 684718a commit d6f540f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/container-apps/container-debug-console.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ms.author: fangjimmy
1616
Azure Container Apps platform offers debug console to help you troubleshoot your application under the following circumstances:
1717

1818
- You cannot connect to the target container when you use distroless image.
19-
- If you only install JRE in the runtime image, there are no JDK troubleshooting tools like jcmd, jstack preinstalled in the image.
2019
- When encounter networking issues, your images do not have debugging utilities to investigate them.
2120

2221
You can connect to debug console using the Azure CLI.
@@ -157,9 +156,9 @@ tdnf install -y msopenjdk-17
157156

158157
## Scenario - Accessing container's file system via Debug Console
159158

160-
By default, you will use **root** user when you connect to debug console.
159+
By default, debug console runs as root user.
161160

162-
You can access /proc/1 to access container's file system if you use **root** user to run your application. If you use a nonroot user to run your application, run below command to switch user before accessing /proc/1 directory, or you'll get permission denied error.
161+
You can access /proc/1 to access container's file system if your container runs as root user. If your container does not run as root user, run below command to switch user before accessing /proc/1 directory, or you'll get permission denied error.
163162

164163
```bash
165164
tdnf install -y shadow-utils

0 commit comments

Comments
 (0)