Docker scripts fails to install Portainer #1946

Closed
opened 2026-02-05 03:01:30 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Dean2706 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 LXC

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 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
65337a9fede9474036b3b68984f1e2bba118535687f7fdd68171d9cb74ffee65
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.

Run Script with Default settings
Select Yes or No to Install Docker Compose v2 plugin? <y/N> y
Select Yes to Would you like to add Portainer (UI)? <y/N> y

Paste the full error output (if available).

✔️ 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
65337a9fede9474036b3b68984f1e2bba118535687f7fdd68171d9cb74ffee65
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).

I have also tested the Debian 13 setup
var_version=13 bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/docker.sh)"
and the Alpine setup
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-docker.sh)"

Both results in the same error when installing Portainer

Originally created by @Dean2706 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 LXC ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/docker-vm.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 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 65337a9fede9474036b3b68984f1e2bba118535687f7fdd68171d9cb74ffee65 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. Run Script with Default settings Select Yes or No to Install Docker Compose v2 plugin? <y/N> y Select Yes to Would you like to add Portainer (UI)? <y/N> y ### ❌ Paste the full error output (if available). ✔️ 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 65337a9fede9474036b3b68984f1e2bba118535687f7fdd68171d9cb74ffee65 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). I have also tested the Debian 13 setup var_version=13 bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/docker.sh)" and the Alpine setup bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-docker.sh)" Both results in the same error when installing Portainer
OVERLORD added the bug label 2026-02-05 03:01:30 +03:00
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: starred/ProxmoxVE#1946