Alpine Docker script hangs on "Internet NOT Connected" - ISP blocks outbound ping #1207

Closed
opened 2026-02-04 23:39:27 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @Yakrel on GitHub (Jul 2, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

alpine-docker

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-docker.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

The Alpine Docker script hangs indefinitely after showing "Internet NOT Connected" message without prompting to continue anyway. When I click enter it just throws and error and kicks me out of setup

I think scripts checks the internet connection by pinging and IP adress and because my ISP somehow blocked outgoing PING requests it cant detect the internet connection.

Environment:

  • Proxmox VE host with functional internet connectivity
  • ISP blocks outbound ping requests to external IPs (8.8.8.8, 1.1.1.1, etc.)
  • Local network connectivity works fine (can ping gateway 192.168.1.1)

Issue:
Script performs internet connectivity check via ping, fails due to ISP restrictions, and hangs without offering "Would you like to continue anyway? <y/N>"
prompt.

🔄 Steps to reproduce the issue.

I just run script then select first option using default settings.

Paste the full error output (if available).

___    __      _                  ____             __            

/ | / /___ ()__ ___ / __ ____ / / _____
/ /| | / / __ / / __ / _ _/ / / / __ / / /// _ / /
/ ___ |/ / /
/ / / / / / /
/ /
/ / /_/ / /
/ ,< / / /
// |// .
/// /_/_
/ /
/_/_//||__//
/
/
⚙️ Using Default Settings on node pve01
🖥️ Operating System: alpine
🌟 Version: 3.22
📦 Container Type: Unprivileged
💾 Disk Size: 2 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 1024 MiB
🆔 Container ID: 101
🚀 Creating a Alpine-Docker LXC using the above default settings

✔️ Using datapool for Template Storage.
✔️ Using datapool for Container Storage.
✔️ LXC Template List Updated
✔️ LXC Template 'alpine-3.22-default_20250617_amd64.tar.xz' is ready to use.
✔️ LXC Container 101 was successfully created.
✔️ Started LXC Container
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.1.146
✖️ Internet NOT Connected
⠼ Setting up Container OS
📡 Check Network Settings

[ERROR] in line 1185: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"var_install".sh)" ?

root@pve01:~#

🖼️ Additional context (optional).

I think scripts checks the internet by pinging and IP adress and because my ISP somehow blocked outgoing PING requests it cant detect the internet connection.

Originally created by @Yakrel on GitHub (Jul 2, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? alpine-docker ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-docker.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. The Alpine Docker script hangs indefinitely after showing "Internet NOT Connected" message without prompting to continue anyway. When I click enter it just throws and error and kicks me out of setup I think scripts checks the internet connection by pinging and IP adress and because my ISP somehow blocked outgoing PING requests it cant detect the internet connection. Environment: - Proxmox VE host with functional internet connectivity - ISP blocks outbound ping requests to external IPs (8.8.8.8, 1.1.1.1, etc.) - Local network connectivity works fine (can ping gateway 192.168.1.1) Issue: Script performs internet connectivity check via ping, fails due to ISP restrictions, and hangs without offering "Would you like to continue anyway? <y/N>" prompt. ### 🔄 Steps to reproduce the issue. I just run script then select first option using default settings. ### ❌ Paste the full error output (if available). ___ __ _ ____ __ / | / /___ (_)___ ___ / __ \____ _____/ /_____ _____ / /| | / / __ \/ / __ \/ _ \______/ / / / __ \/ ___/ //_/ _ \/ ___/ / ___ |/ / /_/ / / / / / __/_____/ /_/ / /_/ / /__/ ,< / __/ / /_/ |_/_/ .___/_/_/ /_/\___/ /_____/\____/\___/_/|_|\___/_/ /_/ ⚙️ Using Default Settings on node pve01 🖥️ Operating System: alpine 🌟 Version: 3.22 📦 Container Type: Unprivileged 💾 Disk Size: 2 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 1024 MiB 🆔 Container ID: 101 🚀 Creating a Alpine-Docker LXC using the above default settings ✔️ Using datapool for Template Storage. ✔️ Using datapool for Container Storage. ✔️ LXC Template List Updated ✔️ LXC Template 'alpine-3.22-default_20250617_amd64.tar.xz' is ready to use. ✔️ LXC Container 101 was successfully created. ✔️ Started LXC Container ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.1.146 ✖️ Internet NOT Connected ⠼ Setting up Container OS 📡 Check Network Settings [ERROR] in line 1185: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? root@pve01:~# ### 🖼️ Additional context (optional). I think scripts checks the internet by pinging and IP adress and because my ISP somehow blocked outgoing PING requests it cant detect the internet connection.
OVERLORD added the bug label 2026-02-04 23:39:27 +03:00
Author
Owner

@Yakrel commented on GitHub (Jul 2, 2025):

I think scripts should ask if I want to continue anyway Y/N but looks like this feature is not implemented on this script.

@Yakrel commented on GitHub (Jul 2, 2025): I think scripts should ask if I want to continue anyway Y/N but looks like this feature is not implemented on this script.
Author
Owner

@MickLesk commented on GitHub (Jul 2, 2025):

run in verbose? there are the outpt? what if you enter y and press enter?

@MickLesk commented on GitHub (Jul 2, 2025): run in verbose? there are the outpt? what if you enter y and press enter?
Author
Owner

@Yakrel commented on GitHub (Jul 2, 2025):

run in verbose? there are the outpt? what if you enter y and press enter?

Yes when I run in verbose I did see whats script is asking

___    __      _                  ____             __            

/ | / /___ ()__ ___ / __ ____ / / _____
/ /| | / / __ / / __ / _ _/ / / / __ / / /// _ / /
/ ___ |/ / /
/ / / / / / /
/ /
/ / /_/ / /
/ ,< / / /
// |// .
/// /_/_
/ /
/_/_//||__//
/
/
⚙️ Using Default Settings on node pve01 (🔍 Verbose)
🖥️ Operating System: alpine
🌟 Version: 3.22
📦 Container Type: Unprivileged
💾 Disk Size: 2 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 1024 MiB
🆔 Container ID: 101
🔍 Verbose Mode: Enabled
🚀 Creating a Alpine-Docker LXC using the above default settings

✔️ Using datapool for Template Storage.
✔️ Using datapool for Container Storage.
✔️ LXC Template List Updated
✔️ LXC Template 'alpine-3.22-default_20250617_amd64.tar.xz' is ready to use.
✔️ LXC Container 101 was successfully created.
✔️ Started LXC Container
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.1.75
✖️ Internet NOT Connected
Would you like to continue anyway? <y/N> y
💡 Expect Issues Without Internet
✔️ DNS Resolved github.com to 140.82.121.3
Updating Container OSfetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz
(1/2) Upgrading openrc-user (0.62.3-r0 -> 0.62.5-r0)
(2/2) Upgrading openrc (0.62.3-r0 -> 0.62.5-r0)
Executing openrc-0.62.5-r0.post-upgrade
Executing busybox-1.37.0-r18.trigger
OK: 34 MiB in 70 packages
✔️ Updated Container OS
Installing core dependenciesv3.22.0-270-gdfa38767079 [http://dl-cdn.alpinelinux.org/alpine/latest-stable/main]
v3.22.0-275-gb491e531087 [http://dl-cdn.alpinelinux.org/alpine/latest-stable/community]
OK: 26311 distinct packages available
(1/20) Installing libgpg-error (1.55-r0)
(2/20) Installing libassuan (2.5.7-r0)
(3/20) Installing pinentry (1.3.1-r0)

BUT what I need is "use config file" option I also did test with it

___    __      _                  ____             __            

/ | / /___ ()__ ___ / __ ____ / / _____
/ /| | / / __ / / __ / _ _/ / / / __ / / /// _ / /
/ ___ |/ / /
/ / / / / / /
/ /
/ / /_/ / /
/ ,< / / /
// |// .
/// /_/_
/ /
/_/_//||__//
/
/
💡 Using Config File on node pve01
💡 Using config File: /opt/community-scripts/alpine-docker.conf
🆔 Container ID: 101
📦 Container Type: Unprivileged
🏠 Hostname: lxc-media-01
💾 Disk Size: 20 GB
🧠 CPU Cores: 4
🛠️ RAM Size: 10240 MiB
🌉 Bridge: vmbr0
📡 IP Address: 192.168.1.101/24
🌐 Gateway IP Address: 192.168.1.1
⚙️ Interface MTU Size: 1500
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: 192.168.1.1
🔗 MAC Address: Host
🏷️ Vlan: Host
📡 Tags: ;
🔑 Root SSH Access: no
noEnable FUSE: No
🔍 Verbose Mode: No
🚀 Creating a Alpine-Docker LXC using the above settings
✔️ Using datapool for Template Storage.
✔️ Using datapool for Container Storage.
✔️ LXC Template List Updated
✔��� LXC Template 'alpine-3.22-default_20250617_amd64.tar.xz' is ready to use.
✔️ LXC Container 101 was successfully created.
✔️ Started LXC Container
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.1.101
✖️ Internet NOT Connected
⠸ Setting up Container OS
💡 Expect Issues Without Internet
✔️ DNS Resolved github.com to 140.82.121.4
✔️ Updated Container OS
✔️ Core dependencies installed
✔️ Installed Dependencies
✔️ Installed Docker
⠴ Installing Dependencies

The last text changing always instantly between docker container os and compose, and when I press enter this is happens(I did press N- N then enter) I think its asking me if I want to install portainer and its agent and compose but I cant see the prompt

💡 Expect Issues Without Internet
✔️ DNS Resolved github.com to 140.82.121.4
✔️ Updated Container OS
✔️ Core dependencies installed
✔️ Installed Dependencies
✔️ Installed Docker
⠹ Updating Container OS
⠴ Installing Docker
⠼ Installing Docker
⠏ Setting up Container OS
⠴ Installing Docker Compose v2.38.1
⠧ Updating Container OS
⠹ Installing Docker Compose v2.38.1
⠦ Setting up Container OS
⠙ Installing Docker Compose v2.38.1
⠸ Installing Docker Compose v2.38.1
⠴ Installing Docker Compose v2.38.1
⠧ Installing Docker Compose v2.38.1
⠦ Updating Container OS
⠋ Installing Docker Compose v2.38.1
✔️ Installed Docker Compose v2.38.1
✔️ Customized Container
✔️ Completed Successfully!

@Yakrel commented on GitHub (Jul 2, 2025): > run in verbose? there are the outpt? what if you enter y and press enter? Yes when I run in verbose I did see whats script is asking ___ __ _ ____ __ / | / /___ (_)___ ___ / __ \____ _____/ /_____ _____ / /| | / / __ \/ / __ \/ _ \______/ / / / __ \/ ___/ //_/ _ \/ ___/ / ___ |/ / /_/ / / / / / __/_____/ /_/ / /_/ / /__/ ,< / __/ / /_/ |_/_/ .___/_/_/ /_/\___/ /_____/\____/\___/_/|_|\___/_/ /_/ ⚙️ Using Default Settings on node pve01 (🔍 Verbose) 🖥️ Operating System: alpine 🌟 Version: 3.22 📦 Container Type: Unprivileged 💾 Disk Size: 2 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 1024 MiB 🆔 Container ID: 101 🔍 Verbose Mode: Enabled 🚀 Creating a Alpine-Docker LXC using the above default settings ✔️ Using datapool for Template Storage. ✔️ Using datapool for Container Storage. ✔️ LXC Template List Updated ✔️ LXC Template 'alpine-3.22-default_20250617_amd64.tar.xz' is ready to use. ✔️ LXC Container 101 was successfully created. ✔️ Started LXC Container ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.1.75 ✖️ Internet NOT Connected Would you like to continue anyway? <y/N> y 💡 Expect Issues Without Internet ✔️ DNS Resolved github.com to 140.82.121.3 ⏳ Updating Container OSfetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86_64/APKINDEX.tar.gz (1/2) Upgrading openrc-user (0.62.3-r0 -> 0.62.5-r0) (2/2) Upgrading openrc (0.62.3-r0 -> 0.62.5-r0) Executing openrc-0.62.5-r0.post-upgrade Executing busybox-1.37.0-r18.trigger OK: 34 MiB in 70 packages ✔️ Updated Container OS ⏳ Installing core dependenciesv3.22.0-270-gdfa38767079 [http://dl-cdn.alpinelinux.org/alpine/latest-stable/main] v3.22.0-275-gb491e531087 [http://dl-cdn.alpinelinux.org/alpine/latest-stable/community] OK: 26311 distinct packages available (1/20) Installing libgpg-error (1.55-r0) (2/20) Installing libassuan (2.5.7-r0) (3/20) Installing pinentry (1.3.1-r0) BUT what I need is "use config file" option I also did test with it ___ __ _ ____ __ / | / /___ (_)___ ___ / __ \____ _____/ /_____ _____ / /| | / / __ \/ / __ \/ _ \______/ / / / __ \/ ___/ //_/ _ \/ ___/ / ___ |/ / /_/ / / / / / __/_____/ /_/ / /_/ / /__/ ,< / __/ / /_/ |_/_/ .___/_/_/ /_/\___/ /_____/\____/\___/_/|_|\___/_/ /_/ 💡 Using Config File on node pve01 💡 Using config File: /opt/community-scripts/alpine-docker.conf 🆔 Container ID: 101 📦 Container Type: Unprivileged 🏠 Hostname: lxc-media-01 💾 Disk Size: 20 GB 🧠 CPU Cores: 4 🛠️ RAM Size: 10240 MiB 🌉 Bridge: vmbr0 📡 IP Address: 192.168.1.101/24 🌐 Gateway IP Address: 192.168.1.1 ⚙️ Interface MTU Size: 1500 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: 192.168.1.1 🔗 MAC Address: Host 🏷️ Vlan: Host 📡 Tags: ; 🔑 Root SSH Access: no noEnable FUSE: No 🔍 Verbose Mode: No 🚀 Creating a Alpine-Docker LXC using the above settings ✔️ Using datapool for Template Storage. ✔️ Using datapool for Container Storage. ✔️ LXC Template List Updated ✔��� LXC Template 'alpine-3.22-default_20250617_amd64.tar.xz' is ready to use. ✔️ LXC Container 101 was successfully created. ✔️ Started LXC Container ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.1.101 ✖️ Internet NOT Connected ⠸ Setting up Container OS 💡 Expect Issues Without Internet ✔️ DNS Resolved github.com to 140.82.121.4 ✔️ Updated Container OS ✔️ Core dependencies installed ✔️ Installed Dependencies ✔️ Installed Docker ⠴ Installing Dependencies The last text changing always instantly between docker container os and compose, and when I press enter this is happens(I did press N- N then enter) I think its asking me if I want to install portainer and its agent and compose but I cant see the prompt 💡 Expect Issues Without Internet ✔️ DNS Resolved github.com to 140.82.121.4 ✔️ Updated Container OS ✔️ Core dependencies installed ✔️ Installed Dependencies ✔️ Installed Docker ⠹ Updating Container OS ⠴ Installing Docker ⠼ Installing Docker ⠏ Setting up Container OS ⠴ Installing Docker Compose v2.38.1 ⠧ Updating Container OS ⠹ Installing Docker Compose v2.38.1 ⠦ Setting up Container OS ⠙ Installing Docker Compose v2.38.1 ⠸ Installing Docker Compose v2.38.1 ⠴ Installing Docker Compose v2.38.1 ⠧ Installing Docker Compose v2.38.1 ⠦ Updating Container OS ⠋ Installing Docker Compose v2.38.1 ✔️ Installed Docker Compose v2.38.1 ✔️ Customized Container ✔️ Completed Successfully!
Author
Owner

@MickLesk commented on GitHub (Jul 2, 2025):

try with alpine-script in VED as default please - there is an newer version of spinner & background logic. Its the same?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/alpine.sh)"

@MickLesk commented on GitHub (Jul 2, 2025): try with alpine-script in VED as default please - there is an newer version of spinner & background logic. Its the same? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/alpine.sh)"
Author
Owner

@Yakrel commented on GitHub (Jul 2, 2025):

try with alpine-script in VED as default please - there is an newer version of spinner & background logic. Its the same?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/alpine.sh)"

this one worked without problem, I was able to see continue anyway prompt, though what I was testing was alpine LXC with docker this one is Alpine lxc only

⚙️ Using Default Settings on node pve01
🆔 Container ID: 101
🖥️ Operating System: alpine (3.22)
📦 Container Type: Unprivileged
💾 Disk Size: 1 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 512 MiB
🚀 Creating a Alpine LXC using the above default settings

✔️ Storage types rootdir and vztmpl are supported.
✔️ Using datapool for Template Storage.
✔️ Using datapool for Container Storage.
✔️ LXC Template List Updated
✔️ LXC Template 'alpine-3.22-default_20250617_amd64.tar.xz' is ready to use.
✔️ Started LXC Container
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.1.84
✖️ Internet NOT Connected
Would you like to continue anyway? <y/N> y
💡 Expect Issues Without Internet
✔️ DNS Resolved github.com to 140.82.121.4
✔️ Updated Container OS
✔️ Installed Dependencies
✔️ Customized Container
✔️ Completed Successfully!

root@pve01:~#

@Yakrel commented on GitHub (Jul 2, 2025): > try with alpine-script in VED as default please - there is an newer version of spinner & background logic. Its the same? > > bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/alpine.sh)" this one worked without problem, I was able to see continue anyway prompt, though what I was testing was alpine LXC with docker this one is Alpine lxc only ⚙️ Using Default Settings on node pve01 🆔 Container ID: 101 🖥️ Operating System: alpine (3.22) 📦 Container Type: Unprivileged 💾 Disk Size: 1 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 512 MiB 🚀 Creating a Alpine LXC using the above default settings ✔️ Storage types rootdir and vztmpl are supported. ✔️ Using datapool for Template Storage. ✔️ Using datapool for Container Storage. ✔️ LXC Template List Updated ✔️ LXC Template 'alpine-3.22-default_20250617_amd64.tar.xz' is ready to use. ✔️ Started LXC Container ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.1.84 ✖️ Internet NOT Connected Would you like to continue anyway? <y/N> y 💡 Expect Issues Without Internet ✔️ DNS Resolved github.com to 140.82.121.4 ✔️ Updated Container OS ✔️ Installed Dependencies ✔️ Customized Container ✔️ Completed Successfully! root@pve01:~#
Author
Owner

@MickLesk commented on GitHub (Jul 2, 2025):

fine, then i close it, at friday i merge the full spinner & error handling redesign in live - so its fixed with this part

@MickLesk commented on GitHub (Jul 2, 2025): fine, then i close it, at friday i merge the full spinner & error handling redesign in live - so its fixed with this part
Author
Owner

@Yakrel commented on GitHub (Jul 2, 2025):

fine, then i close it, at friday i merge the full spinner & error handling redesign in live - so its fixed with this part

TY Also I know another issue must be created for it but, when you first run alpine docker script select advanced and create config file with it and after that when you try to install with that config file there is at least 3 variables are(TUN,IPV6 I dont remember all) missing and should be added manually to config file, FYI TY 👍

@Yakrel commented on GitHub (Jul 2, 2025): > fine, then i close it, at friday i merge the full spinner & error handling redesign in live - so its fixed with this part TY Also I know another issue must be created for it but, when you first run alpine docker script select advanced and create config file with it and after that when you try to install with that config file there is at least 3 variables are(TUN,IPV6 I dont remember all) missing and should be added manually to config file, FYI TY 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1207