From dab7a7d0f85deeb2cc86412c22eb528287d878c8 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Wed, 18 Sep 2024 19:37:01 -0400 Subject: [PATCH] Update article --- .../Deep Dive: Discord-Linux Automated Container Platform.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/Deep Dive: Discord-Linux Automated Container Platform.md b/markdown/Deep Dive: Discord-Linux Automated Container Platform.md index d4898e8..f6f018c 100644 --- a/markdown/Deep Dive: Discord-Linux Automated Container Platform.md +++ b/markdown/Deep Dive: Discord-Linux Automated Container Platform.md @@ -227,7 +227,7 @@ echo "No available IP addresses found in the subnet of network '$network_name'." exit 1 ``` -This script checks if exactly one argument (a network name) is provided, and if not, it displays usage instructions and exits. It retrieves the subnet of the specified Docker network, checks if the network exists and has an assigned subnet, and extracts the subnet prefix (e.g., 172.18.0). The script then loops through possible IP addresses within the subnet range, checking if each is available by attempting to ping it. If an available IP is found, it prints the IP and exits. If no available IP is found, it notifies the user and exits. +This script checks if exactly one argument (a network name) is provided, and if not, it displays usage instructions and exits. It retrieves the subnet of the specified Docker network, checks if the network exists and has an assigned subnet, and extracts the subnet prefix (e.g., 172.18.0). The script then loops through possible IP addresses within the subnet range, checking if each is available by attempting to ping it. If an available IP is found, it prints the IP and exits. If no available IP is found, it notifies the system and exits. #### Operating System Selection