Docker LXC & VM Script -Fails installing Portainer/Docker #2268

Closed
opened 2025-11-20 05:26:27 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @BrianBonnell on GitHub (Nov 7, 2025).

Have you read and understood the above guidelines?

yes

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

Docker v2.40.3 LXC

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

pve-manager/9.0.11/3bf5476b8a4699e2 (running kernel: 6.14.11-4-pve)

📝 Provide a clear and concise description of the issue.

✔️ Installed Docker v28.5.2
Install Docker Compose v2 plugin? <y/N> y
✔️ Installed Docker Compose v2.40.3
Would you like to add Portainer (UI)? <y/N> y
Installing Portainer 2.33.3Unable to find image 'portainer/portainer-ce:latest' locally
latest: Pulling from portainer/portainer-ce
22d4f45bf667: Pull complete
089b96337e3d: Pull complete
c551c6af3241: Pull complete
9f7772ceb88a: Pull complete
d35c85f36345: Pull complete
f3e139b9cd66: Pull complete
2d896f38a01e: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:d38a6876b61df32e4da13c0ca61cf2aa0f27afc103abb4ca7ad4e1cf000e17c3
Status: Downloaded newer image for portainer/portainer-ce:latest
1c903094e875da19e190686a6cd496ae9d77c11e9287c78e7bb6012711d587e4
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open sysctl net.ipv4.ip_unprivileged_port_start file: reopen fd 8: permission denied: unknown

Run 'docker run --help' for more information

[**ERROR] in line 46: exit code 0: while executing command $STD docker run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

[ERROR] in line 1345: 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)"**

🔄 Steps to reproduce the issue.

Step 1 :Execute: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/docker.sh)"
Step 2: Yes to Install Docker Compose v2 plugin? <y/N> y
Step 3: Yes to Would you like to add Portainer (UI)? <y/N> y
Then it errors out and never finishes the install, returns to command line.

Paste the full error output (if available).

🧩 Using Advanced Settings on node pve5
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
🔐 Root Password: ********
🆔 Container ID: 106
🏠 Hostname: docker
💾 Disk Size: 80 GB
🧠 CPU Cores: 2
🛠️ RAM Size: 2048 MiB
🌉 Bridge: vmbr0
📡 IPv4: DHCP
📡 IPv6: SLAAC/AUTO
📡 APT-Cacher IP Address: Default
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🏷️ Vlan: Default
📡 Tags: community-script;docker
🔑 Root SSH Access: yes
🗂️ Enable FUSE Support: yes
🔍 Verbose Mode: yes
🚀 Creating a Docker LXC using the above advanced settings
💡 Configuration file already exists at /opt/community-scripts/docker.conf
💡 Writing configuration to /opt/community-scripts/docker.conf
✔️ Storage local (Free: 69.3GB Used: 17.9GB) [Template]
✔️ Storage data (Free: 760.1GB Used: 131.3GB) [Container]
✔️ Template debian-12-standard_12.12-1_amd64.tar.zst [local]
✔️ LXC Container 106 was successfully created.
✔️ Started LXC Container
💡 No network in LXC yet (try 1/10) – waiting...
✔️ Network in LXC is reachable (ping)
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 10.0.0.218 2601:156:8200:d6d0:be24:11ff:fecc:78e9
✔️ IPv4 Internet Connected
✔️ IPv6 Internet Connected
✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
bind9-dnsutils bind9-host bind9-libs libssl3 openssl
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,854 kB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Get:1 http://security.debian.org bookworm-security/main amd64 libssl3 amd64 3.0.17-1deb12u3 [2,028 kB]
Get:2 http://security.debian.org bookworm-security/main amd64 bind9-host amd64 1:9.18.41-1
deb12u1 [54.7 kB]
Get:3 http://security.debian.org bookworm-security/main amd64 bind9-dnsutils amd64 1:9.18.41-1deb12u1 [155 kB]
Get:4 http://security.debian.org bookworm-security/main amd64 bind9-libs amd64 1:9.18.41-1
deb12u1 [1,181 kB]
Get:5 http://security.debian.org bookworm-security/main amd64 openssl amd64 3.0.17-1deb12u3 [1,434 kB]
Fetched 4,854 kB in 0s (17.0 MB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 20346 files and directories currently installed.)
Preparing to unpack .../libssl3_3.0.17-1
deb12u3_amd64.deb ...
Unpacking libssl3:amd64 (3.0.17-1deb12u3) over (3.0.17-1deb12u2) ...
Preparing to unpack .../bind9-host_1%3a9.18.41-1deb12u1_amd64.deb ...
Unpacking bind9-host (1:9.18.41-1
deb12u1) over (1:9.18.33-1deb12u2) ...
Preparing to unpack .../bind9-dnsutils_1%3a9.18.41-1
deb12u1_amd64.deb ...
Unpacking bind9-dnsutils (1:9.18.41-1deb12u1) over (1:9.18.33-1deb12u2) ...
Preparing to unpack .../bind9-libs_1%3a9.18.41-1deb12u1_amd64.deb ...
Unpacking bind9-libs:amd64 (1:9.18.41-1
deb12u1) over (1:9.18.33-1deb12u2) ...
Preparing to unpack .../openssl_3.0.17-1
deb12u3_amd64.deb ...
Unpacking openssl (3.0.17-1deb12u3) over (3.0.17-1deb12u2) ...
Setting up libssl3:amd64 (3.0.17-1deb12u3) ...
Setting up openssl (3.0.17-1
deb12u3) ...
Setting up bind9-libs:amd64 (1:9.18.41-1deb12u1) ...
Setting up bind9-host (1:9.18.41-1
deb12u1) ...
Setting up bind9-dnsutils (1:9.18.41-1~deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
✔️ Updated Container OS
Installing Docker v28.5.2# Executing docker install script, commit: e3bd92d5b36b59b39661e4e6d05c786db9bb3ad7

  • sh -c apt-get -qq update >/dev/null
  • sh -c DEBIAN_FRONTEND=noninteractive apt-get -y -qq install ca-certificates curl >/dev/null
  • sh -c install -m 0755 -d /etc/apt/keyrings
  • sh -c curl -fsSL "https://download.docker.com/linux/debian/gpg" -o /etc/apt/keyrings/docker.asc
  • sh -c chmod a+r /etc/apt/keyrings/docker.asc
  • sh -c echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable" > /etc/apt/sources.list.d/docker.list
  • sh -c apt-get -qq update >/dev/null
  • sh -c DEBIAN_FRONTEND=noninteractive apt-get -y -qq install docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin docker-model-plugin >/dev/null
  • sh -c docker version
    Client: Docker Engine - Community
    Version: 28.5.2
    API version: 1.51
    Go version: go1.25.3
    Git commit: ecc6942
    Built: Wed Nov 5 14:43:25 2025
    OS/Arch: linux/amd64
    Context: default

Server: Docker Engine - Community
Engine:
Version: 28.5.2
API version: 1.51 (minimum version 1.24)
Go version: go1.25.3
Git commit: 89c5e8f
Built: Wed Nov 5 14:43:25 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.7.29
GitCommit: 442cb34bda9a6a0fed82a2ca7cade05c5c749582
runc:
Version: 1.3.3
GitCommit: v1.3.3-0-gd842d771
docker-init:
Version: 0.19.0
GitCommit: de40ad0

================================================================================

To run Docker as a non-privileged user, consider setting up the
Docker daemon in rootless mode for your user:

dockerd-rootless-setuptool.sh install

Visit https://docs.docker.com/go/rootless/ to learn about rootless mode.

To run the Docker daemon as a fully privileged service, but granting non-root
users access, refer to https://docs.docker.com/go/daemon-access/

WARNING: Access to the remote API on a privileged Docker daemon is equivalent
to root access on the host. Refer to the 'Docker daemon attack surface'
documentation for details: https://docs.docker.com/go/attack-surface/

================================================================================

✔️ Installed Docker v28.5.2
Install Docker Compose v2 plugin? <y/N> y
✔️ Installed Docker Compose v2.40.3
Would you like to add Portainer (UI)? <y/N> y
Installing Portainer 2.33.3Unable to find image 'portainer/portainer-ce:latest' locally
latest: Pulling from portainer/portainer-ce
22d4f45bf667: Pull complete
089b96337e3d: Pull complete
c551c6af3241: Pull complete
9f7772ceb88a: Pull complete
d35c85f36345: Pull complete
f3e139b9cd66: Pull complete
2d896f38a01e: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:d38a6876b61df32e4da13c0ca61cf2aa0f27afc103abb4ca7ad4e1cf000e17c3
Status: Downloaded newer image for portainer/portainer-ce:latest
1c903094e875da19e190686a6cd496ae9d77c11e9287c78e7bb6012711d587e4
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open sysctl net.ipv4.ip_unprivileged_port_start file: reopen fd 8: permission denied: unknown

Run 'docker run --help' for more information

[ERROR] in line 46: exit code 0: while executing command $STD docker run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

[ERROR] in line 1345: 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)"

🖼️ Additional context (optional).

No response

Originally created by @BrianBonnell on GitHub (Nov 7, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Docker v2.40.3 LXC ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/docker.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? pve-manager/9.0.11/3bf5476b8a4699e2 (running kernel: 6.14.11-4-pve) ### 📝 Provide a clear and concise description of the issue. ✔️ Installed Docker v28.5.2 Install Docker Compose v2 plugin? <y/N> y ✔️ Installed Docker Compose v2.40.3 Would you like to add Portainer (UI)? <y/N> y ⏳ Installing Portainer 2.33.3Unable to find image 'portainer/portainer-ce:latest' locally latest: Pulling from portainer/portainer-ce 22d4f45bf667: Pull complete 089b96337e3d: Pull complete c551c6af3241: Pull complete 9f7772ceb88a: Pull complete d35c85f36345: Pull complete f3e139b9cd66: Pull complete 2d896f38a01e: Pull complete 4f4fb700ef54: Pull complete Digest: sha256:d38a6876b61df32e4da13c0ca61cf2aa0f27afc103abb4ca7ad4e1cf000e17c3 Status: Downloaded newer image for portainer/portainer-ce:latest 1c903094e875da19e190686a6cd496ae9d77c11e9287c78e7bb6012711d587e4 docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open sysctl net.ipv4.ip_unprivileged_port_start file: reopen fd 8: permission denied: unknown Run 'docker run --help' for more information [**ERROR] in line 46: exit code 0: while executing command $STD docker run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest [ERROR] in line 1345: 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)"** ### 🔄 Steps to reproduce the issue. Step 1 :Execute: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/docker.sh)" Step 2: Yes to Install Docker Compose v2 plugin? <y/N> y Step 3: Yes to Would you like to add Portainer (UI)? <y/N> y Then it errors out and never finishes the install, returns to command line. ### ❌ Paste the full error output (if available). 🧩 Using Advanced Settings on node pve5 🖥️ Operating System: debian 🌟 Version: 12 📦 Container Type: Unprivileged 🔐 Root Password: ******** 🆔 Container ID: 106 🏠 Hostname: docker 💾 Disk Size: 80 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🌉 Bridge: vmbr0 📡 IPv4: DHCP 📡 IPv6: SLAAC/AUTO 📡 APT-Cacher IP Address: Default ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: community-script;docker 🔑 Root SSH Access: yes 🗂️ Enable FUSE Support: yes 🔍 Verbose Mode: yes 🚀 Creating a Docker LXC using the above advanced settings 💡 Configuration file already exists at /opt/community-scripts/docker.conf 💡 Writing configuration to /opt/community-scripts/docker.conf ✔️ Storage local (Free: 69.3GB Used: 17.9GB) [Template] ✔️ Storage data (Free: 760.1GB Used: 131.3GB) [Container] ✔️ Template debian-12-standard_12.12-1_amd64.tar.zst [local] ✔️ LXC Container 106 was successfully created. ✔️ Started LXC Container 💡 No network in LXC yet (try 1/10) – waiting... ✔️ Network in LXC is reachable (ping) ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 10.0.0.218 2601:156:8200:d6d0:be24:11ff:fecc:78e9 ✔️ IPv4 Internet Connected ✔️ IPv6 Internet Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) Hit:1 http://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: bind9-dnsutils bind9-host bind9-libs libssl3 openssl 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 4,854 kB of archives. After this operation, 12.3 kB of additional disk space will be used. Get:1 http://security.debian.org bookworm-security/main amd64 libssl3 amd64 3.0.17-1~deb12u3 [2,028 kB] Get:2 http://security.debian.org bookworm-security/main amd64 bind9-host amd64 1:9.18.41-1~deb12u1 [54.7 kB] Get:3 http://security.debian.org bookworm-security/main amd64 bind9-dnsutils amd64 1:9.18.41-1~deb12u1 [155 kB] Get:4 http://security.debian.org bookworm-security/main amd64 bind9-libs amd64 1:9.18.41-1~deb12u1 [1,181 kB] Get:5 http://security.debian.org bookworm-security/main amd64 openssl amd64 3.0.17-1~deb12u3 [1,434 kB] Fetched 4,854 kB in 0s (17.0 MB/s) apt-listchanges: Reading changelogs... (Reading database ... 20346 files and directories currently installed.) Preparing to unpack .../libssl3_3.0.17-1~deb12u3_amd64.deb ... Unpacking libssl3:amd64 (3.0.17-1~deb12u3) over (3.0.17-1~deb12u2) ... Preparing to unpack .../bind9-host_1%3a9.18.41-1~deb12u1_amd64.deb ... Unpacking bind9-host (1:9.18.41-1~deb12u1) over (1:9.18.33-1~deb12u2) ... Preparing to unpack .../bind9-dnsutils_1%3a9.18.41-1~deb12u1_amd64.deb ... Unpacking bind9-dnsutils (1:9.18.41-1~deb12u1) over (1:9.18.33-1~deb12u2) ... Preparing to unpack .../bind9-libs_1%3a9.18.41-1~deb12u1_amd64.deb ... Unpacking bind9-libs:amd64 (1:9.18.41-1~deb12u1) over (1:9.18.33-1~deb12u2) ... Preparing to unpack .../openssl_3.0.17-1~deb12u3_amd64.deb ... Unpacking openssl (3.0.17-1~deb12u3) over (3.0.17-1~deb12u2) ... Setting up libssl3:amd64 (3.0.17-1~deb12u3) ... Setting up openssl (3.0.17-1~deb12u3) ... Setting up bind9-libs:amd64 (1:9.18.41-1~deb12u1) ... Setting up bind9-host (1:9.18.41-1~deb12u1) ... Setting up bind9-dnsutils (1:9.18.41-1~deb12u1) ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for libc-bin (2.36-9+deb12u13) ... ✔️ Updated Container OS ⏳ Installing Docker v28.5.2# Executing docker install script, commit: e3bd92d5b36b59b39661e4e6d05c786db9bb3ad7 + sh -c apt-get -qq update >/dev/null + sh -c DEBIAN_FRONTEND=noninteractive apt-get -y -qq install ca-certificates curl >/dev/null + sh -c install -m 0755 -d /etc/apt/keyrings + sh -c curl -fsSL "https://download.docker.com/linux/debian/gpg" -o /etc/apt/keyrings/docker.asc + sh -c chmod a+r /etc/apt/keyrings/docker.asc + sh -c echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable" > /etc/apt/sources.list.d/docker.list + sh -c apt-get -qq update >/dev/null + sh -c DEBIAN_FRONTEND=noninteractive apt-get -y -qq install docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin docker-model-plugin >/dev/null + sh -c docker version Client: Docker Engine - Community Version: 28.5.2 API version: 1.51 Go version: go1.25.3 Git commit: ecc6942 Built: Wed Nov 5 14:43:25 2025 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 28.5.2 API version: 1.51 (minimum version 1.24) Go version: go1.25.3 Git commit: 89c5e8f Built: Wed Nov 5 14:43:25 2025 OS/Arch: linux/amd64 Experimental: false containerd: Version: v1.7.29 GitCommit: 442cb34bda9a6a0fed82a2ca7cade05c5c749582 runc: Version: 1.3.3 GitCommit: v1.3.3-0-gd842d771 docker-init: Version: 0.19.0 GitCommit: de40ad0 ================================================================================ To run Docker as a non-privileged user, consider setting up the Docker daemon in rootless mode for your user: dockerd-rootless-setuptool.sh install Visit https://docs.docker.com/go/rootless/ to learn about rootless mode. To run the Docker daemon as a fully privileged service, but granting non-root users access, refer to https://docs.docker.com/go/daemon-access/ WARNING: Access to the remote API on a privileged Docker daemon is equivalent to root access on the host. Refer to the 'Docker daemon attack surface' documentation for details: https://docs.docker.com/go/attack-surface/ ================================================================================ ✔️ Installed Docker v28.5.2 Install Docker Compose v2 plugin? <y/N> y ✔️ Installed Docker Compose v2.40.3 Would you like to add Portainer (UI)? <y/N> y ⏳ Installing Portainer 2.33.3Unable to find image 'portainer/portainer-ce:latest' locally latest: Pulling from portainer/portainer-ce 22d4f45bf667: Pull complete 089b96337e3d: Pull complete c551c6af3241: Pull complete 9f7772ceb88a: Pull complete d35c85f36345: Pull complete f3e139b9cd66: Pull complete 2d896f38a01e: Pull complete 4f4fb700ef54: Pull complete Digest: sha256:d38a6876b61df32e4da13c0ca61cf2aa0f27afc103abb4ca7ad4e1cf000e17c3 Status: Downloaded newer image for portainer/portainer-ce:latest 1c903094e875da19e190686a6cd496ae9d77c11e9287c78e7bb6012711d587e4 docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open sysctl net.ipv4.ip_unprivileged_port_start file: reopen fd 8: permission denied: unknown Run 'docker run --help' for more information [ERROR] in line 46: exit code 0: while executing command $STD docker run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest [ERROR] in line 1345: 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)" ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:26:27 -05:00
Author
Owner

@BrianBonnell commented on GitHub (Nov 7, 2025):

FYI Same Issue with the Apine OS LXC Version:

___    __      _                  ____             __            

/ | / /___ ()__ ___ / __ ____ / / _____
/ /| | / / __ / / __ / _ _/ / / / __ / / /// _ / /
/ ___ |/ / /
/ / / / / / /
/ /
/ / /_/ / /
/ ,< / / /
// |// .
/// /_/_
/ /
/_/_//||__//
/
/
🧩 Using Advanced Settings on node pve5
🖥️ Operating System: alpine
🌟 Version: 3.22
📦 Container Type: Unprivileged
🔐 Root Password: ********
🆔 Container ID: 106
🏠 Hostname: alpine-docker
💾 Disk Size: 80 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 1024 MiB
🌉 Bridge: vmbr0
📡 IPv4: DHCP
📡 IPv6: SLAAC/AUTO
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🏷️ Vlan: Default
📡 Tags: community-script;docker;alpine
🔑 Root SSH Access: yes
🗂️ Enable FUSE Support: yes
🔍 Verbose Mode: yes
🚀 Creating a Alpine-Docker LXC using the above advanced settings
💡 Writing configuration to /opt/community-scripts/alpine-docker.conf
✔️ Storage local (Free: 69.3GB Used: 17.9GB) [Template]
✔️ Storage data (Free: 760.1GB Used: 131.3GB) [Container]
✔️ Template alpine-3.22-default_20250617_amd64.tar.xz [online]
💡 Template alpine-3.22-default_20250617_amd64.tar.xz is missing or corrupted. Re-downloading.
✔️ Template download successful.
✔️ LXC Container 106 was successfully created.
✔️ Started LXC Container
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 10.0.0.145
✔️ Internet Connected
✔️ DNS Resolved github.com to 140.82.113.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
Upgrading critical system libraries and apk-tools:
(1/1) Upgrading apk-tools (2.14.9-r2 -> 2.14.9-r3)
Executing busybox-1.37.0-r18.trigger
Continuing the upgrade transaction with new apk-tools:
fetch 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/15) Upgrading busybox (1.37.0-r18 -> 1.37.0-r19)
Executing busybox-1.37.0-r19.post-upgrade
(2/15) Upgrading busybox-binsh (1.37.0-r18 -> 1.37.0-r19)
(3/15) Upgrading openrc-user (0.62.3-r0 -> 0.62.6-r0)
(4/15) Upgrading openrc (0.62.3-r0 -> 0.62.6-r0)
Executing openrc-0.62.6-r0.post-upgrade
(5/15) Upgrading busybox-mdev-openrc (1.37.0-r18 -> 1.37.0-r19)
(6/15) Upgrading alpine-conf (3.20.0-r0 -> 3.20.0-r1)
(7/15) Upgrading alpine-release (3.22.0-r0 -> 3.22.2-r0)
(8/15) Upgrading libcrypto3 (3.5.0-r0 -> 3.5.4-r0)
(9/15) Upgrading ca-certificates-bundle (20241121-r2 -> 20250911-r0)
(10/15) Upgrading libssl3 (3.5.0-r0 -> 3.5.4-r0)
(11/15) Upgrading ssl_client (1.37.0-r18 -> 1.37.0-r19)
(12/15) Upgrading libapk2 (2.14.9-r2 -> 2.14.9-r3)
(13/15) Upgrading busybox-openrc (1.37.0-r18 -> 1.37.0-r19)
(14/15) Upgrading busybox-suid (1.37.0-r18 -> 1.37.0-r19)
(15/15) Upgrading alpine-base (3.22.0-r0 -> 3.22.2-r0)
Executing busybox-1.37.0-r19.trigger
OK: 35 MiB in 72 packages
✔️ Updated Container OS
Installing Dependencies(1/1) Installing tzdata (2025b-r0)
OK: 36 MiB in 73 packages
✔️ Installed Dependencies
Installing Docker(1/17) Installing ca-certificates (20250911-r0)
(2/17) Installing libseccomp (2.6.0-r0)
(3/17) Installing runc (1.3.3-r0)
(4/17) Installing containerd (2.1.5-r0)
(5/17) Installing log_proxy (0.7.4-r0)
(6/17) Installing containerd-openrc (2.1.5-r0)
(7/17) Installing libmnl (1.0.5-r2)
(8/17) Installing libnftnl (1.2.9-r0)
(9/17) Installing libxtables (1.8.11-r1)
(10/17) Installing iptables (1.8.11-r1)
(11/17) Installing iptables-openrc (1.8.11-r1)
(12/17) Installing tini-static (0.19.0-r3)
(13/17) Installing docker-engine (28.3.3-r3)
Executing docker-engine-28.3.3-r3.pre-install
(14/17) Installing docker-openrc (28.3.3-r3)
(15/17) Installing docker-cli (28.3.3-r3)
(16/17) Installing docker-cli-buildx (0.24.0-r3)
(17/17) Installing docker (28.3.3-r3)
Executing busybox-1.37.0-r19.trigger
Executing ca-certificates-20250911-r0.trigger
OK: 276 MiB in 90 packages

  • Caching service dependencies ... [ ok ]
    mount: mounting cgroup2 on /sys/fs/cgroup failed: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: write error: Resource busy
    sh: error setting limit: Operation not permitted
  • docker: unable to apply RC_ULIMIT settings
    sh: error setting limit: Operation not permitted
  • docker: unable to apply RC_ULIMIT settings
  • /var/log/docker.log: creating file
  • /var/log/docker.log: correcting owner
  • Starting Docker Daemon ... [ ok ]
  • service docker added to runlevel default
    ✔️ Installed Docker
    Would you like to add Portainer? <y/N> y
    Installing Portainer 2.33.3Unable to find image 'portainer/portainer-ce:latest' locally
    latest: Pulling from portainer/portainer-ce
    22d4f45bf667: Pull complete
    089b96337e3d: Pull complete
    c551c6af3241: Pull complete
    9f7772ceb88a: Pull complete
    d35c85f36345: Pull complete
    f3e139b9cd66: Pull complete
    2d896f38a01e: Pull complete
    4f4fb700ef54: Pull complete
    Digest: sha256:d38a6876b61df32e4da13c0ca61cf2aa0f27afc103abb4ca7ad4e1cf000e17c3
    Status: Downloaded newer image for portainer/portainer-ce:latest
    30f4077be2238cbcad1a9b17a5aaeee0ac7a3bf3e252243fa20456564b497e53
    docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open sysctl net.ipv4.ip_unprivileged_port_start file: reopen fd 8: permission denied

Run 'docker run --help' for more information

[ERROR] in line 37: exit code 126: while executing command $STD docker run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

[ERROR] in line 1345: 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)"

@BrianBonnell commented on GitHub (Nov 7, 2025): FYI Same Issue with the Apine OS LXC Version: ___ __ _ ____ __ / | / /___ (_)___ ___ / __ \____ _____/ /_____ _____ / /| | / / __ \/ / __ \/ _ \______/ / / / __ \/ ___/ //_/ _ \/ ___/ / ___ |/ / /_/ / / / / / __/_____/ /_/ / /_/ / /__/ ,< / __/ / /_/ |_/_/ .___/_/_/ /_/\___/ /_____/\____/\___/_/|_|\___/_/ /_/ 🧩 Using Advanced Settings on node pve5 🖥️ Operating System: alpine 🌟 Version: 3.22 📦 Container Type: Unprivileged 🔐 Root Password: ******** 🆔 Container ID: 106 🏠 Hostname: alpine-docker 💾 Disk Size: 80 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 1024 MiB 🌉 Bridge: vmbr0 📡 IPv4: DHCP 📡 IPv6: SLAAC/AUTO ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: community-script;docker;alpine 🔑 Root SSH Access: yes 🗂️ Enable FUSE Support: yes 🔍 Verbose Mode: yes 🚀 Creating a Alpine-Docker LXC using the above advanced settings 💡 Writing configuration to /opt/community-scripts/alpine-docker.conf ✔️ Storage local (Free: 69.3GB Used: 17.9GB) [Template] ✔️ Storage data (Free: 760.1GB Used: 131.3GB) [Container] ✔️ Template alpine-3.22-default_20250617_amd64.tar.xz [online] 💡 Template alpine-3.22-default_20250617_amd64.tar.xz is missing or corrupted. Re-downloading. ✔️ Template download successful. ✔️ LXC Container 106 was successfully created. ✔️ Started LXC Container ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 10.0.0.145 ✔️ Internet Connected ✔️ DNS Resolved github.com to 140.82.113.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 Upgrading critical system libraries and apk-tools: (1/1) Upgrading apk-tools (2.14.9-r2 -> 2.14.9-r3) Executing busybox-1.37.0-r18.trigger Continuing the upgrade transaction with new apk-tools: fetch 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/15) Upgrading busybox (1.37.0-r18 -> 1.37.0-r19) Executing busybox-1.37.0-r19.post-upgrade (2/15) Upgrading busybox-binsh (1.37.0-r18 -> 1.37.0-r19) (3/15) Upgrading openrc-user (0.62.3-r0 -> 0.62.6-r0) (4/15) Upgrading openrc (0.62.3-r0 -> 0.62.6-r0) Executing openrc-0.62.6-r0.post-upgrade (5/15) Upgrading busybox-mdev-openrc (1.37.0-r18 -> 1.37.0-r19) (6/15) Upgrading alpine-conf (3.20.0-r0 -> 3.20.0-r1) (7/15) Upgrading alpine-release (3.22.0-r0 -> 3.22.2-r0) (8/15) Upgrading libcrypto3 (3.5.0-r0 -> 3.5.4-r0) (9/15) Upgrading ca-certificates-bundle (20241121-r2 -> 20250911-r0) (10/15) Upgrading libssl3 (3.5.0-r0 -> 3.5.4-r0) (11/15) Upgrading ssl_client (1.37.0-r18 -> 1.37.0-r19) (12/15) Upgrading libapk2 (2.14.9-r2 -> 2.14.9-r3) (13/15) Upgrading busybox-openrc (1.37.0-r18 -> 1.37.0-r19) (14/15) Upgrading busybox-suid (1.37.0-r18 -> 1.37.0-r19) (15/15) Upgrading alpine-base (3.22.0-r0 -> 3.22.2-r0) Executing busybox-1.37.0-r19.trigger OK: 35 MiB in 72 packages ✔️ Updated Container OS ⏳ Installing Dependencies(1/1) Installing tzdata (2025b-r0) OK: 36 MiB in 73 packages ✔️ Installed Dependencies ⏳ Installing Docker(1/17) Installing ca-certificates (20250911-r0) (2/17) Installing libseccomp (2.6.0-r0) (3/17) Installing runc (1.3.3-r0) (4/17) Installing containerd (2.1.5-r0) (5/17) Installing log_proxy (0.7.4-r0) (6/17) Installing containerd-openrc (2.1.5-r0) (7/17) Installing libmnl (1.0.5-r2) (8/17) Installing libnftnl (1.2.9-r0) (9/17) Installing libxtables (1.8.11-r1) (10/17) Installing iptables (1.8.11-r1) (11/17) Installing iptables-openrc (1.8.11-r1) (12/17) Installing tini-static (0.19.0-r3) (13/17) Installing docker-engine (28.3.3-r3) Executing docker-engine-28.3.3-r3.pre-install (14/17) Installing docker-openrc (28.3.3-r3) (15/17) Installing docker-cli (28.3.3-r3) (16/17) Installing docker-cli-buildx (0.24.0-r3) (17/17) Installing docker (28.3.3-r3) Executing busybox-1.37.0-r19.trigger Executing ca-certificates-20250911-r0.trigger OK: 276 MiB in 90 packages * Caching service dependencies ... [ ok ] mount: mounting cgroup2 on /sys/fs/cgroup failed: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: write error: Resource busy sh: error setting limit: Operation not permitted * docker: unable to apply RC_ULIMIT settings sh: error setting limit: Operation not permitted * docker: unable to apply RC_ULIMIT settings * /var/log/docker.log: creating file * /var/log/docker.log: correcting owner * Starting Docker Daemon ... [ ok ] * service docker added to runlevel default ✔️ Installed Docker Would you like to add Portainer? <y/N> y ⏳ Installing Portainer 2.33.3Unable to find image 'portainer/portainer-ce:latest' locally latest: Pulling from portainer/portainer-ce 22d4f45bf667: Pull complete 089b96337e3d: Pull complete c551c6af3241: Pull complete 9f7772ceb88a: Pull complete d35c85f36345: Pull complete f3e139b9cd66: Pull complete 2d896f38a01e: Pull complete 4f4fb700ef54: Pull complete Digest: sha256:d38a6876b61df32e4da13c0ca61cf2aa0f27afc103abb4ca7ad4e1cf000e17c3 Status: Downloaded newer image for portainer/portainer-ce:latest 30f4077be2238cbcad1a9b17a5aaeee0ac7a3bf3e252243fa20456564b497e53 docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open sysctl net.ipv4.ip_unprivileged_port_start file: reopen fd 8: permission denied Run 'docker run --help' for more information [ERROR] in line 37: exit code 126: while executing command $STD docker run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest [ERROR] in line 1345: 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)"
Author
Owner

@BrianBonnell commented on GitHub (Nov 7, 2025):

Docker VM Script completes, but docker is not actually installed, running docker ps comes up with:
docker command not found.

@BrianBonnell commented on GitHub (Nov 7, 2025): Docker VM Script completes, but docker is not actually installed, running docker ps comes up with: docker command not found.
Author
Owner

@MickLesk commented on GitHub (Nov 7, 2025):

Duplicate

@MickLesk commented on GitHub (Nov 7, 2025): Duplicate
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2268