Skip to content

Commit 4c91b26

Browse files
Update configure-custom-container.md
1 parent 8bd1173 commit 4c91b26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/app-service/configure-custom-container.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ Secure Shell (SSH) is commonly used to execute administrative commands remotely
407407
/usr/sbin/sshd
408408
exec gunicorn -w 4 -b 0.0.0.0:8000 app:app
409409
```
410+
---
410411
411412
3. Add to the Dockerfile the following instructions according to the base image distribution. The same will copy the new files, install OpenSSH server, set proper permissions and configure the custom entrypoint, and expose the ports required by the application and SSH server, respectively:
412413
@@ -445,6 +446,7 @@ Secure Shell (SSH) is commonly used to execute administrative commands remotely
445446
446447
ENTRYPOINT [ "./entrypoint.sh" ]
447448
```
449+
---
448450
449451
> [!NOTE]
450452
> The root password must be exactly `Docker!` as it is used by App Service to let you access the SSH session with the container. This configuration doesn't allow external connections to the container. Port 2222 of the container is accessible only within the bridge network of a private virtual network and is not accessible to an attacker on the internet.

0 commit comments

Comments
 (0)