[GH-ISSUE #9515] Portainer Agent not intalling #2092

Closed
opened 2026-02-26 12:51:17 +03:00 by kerem · 1 comment
Owner

Originally created by @Aurel004 on GitHub (Nov 29, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/9515

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

📜 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/ct/docker.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📈 Which Proxmox version are you on?

9.0.11

📝 Provide a clear and concise description of the issue.

Tried installing Docker LXC Alpine/Non-Alpine, with and without default settings, using the PVE Scripts Local but I still do have this error

🔄 Steps to reproduce the issue.

Install Docker LXC using the script

Paste the full error output (if available).


  ✔️   Installed Docker docker-v29.1.1
      Install Docker Compose v2 plugin? <y/N> y
  ✔️   Installed Docker Compose v2.40.3
      Would you like to add Portainer (UI)? <y/N> 
      Would you like to install the Portainer Agent (for remote management)? <y/N> y
  ⏳   Installing Portainer Agent 1.6.1Unable to find image 'portainer/agent:latest' locally
latest: Pulling from portainer/agent
0dc69d63cd77: Pull complete 
a0fe5447bf75: Pull complete 
395d4d6cac1e: Pull complete 
a7b17dbff1c7: Pull complete 
2e29d454995e: Pull complete 
d906623f8b05: Pull complete 
66ca9cc35252: Pull complete 
41a1a5c28be8: Pull complete 
f2e6bd2f8c64: Pull complete 
c4911d92bf4b: Download complete 
f91c263f03b8: Download complete 
Digest: sha256:d2e5f753e8c668f7a7916621e64d6535f212b0f6ade5389a6fcc1f6830405ccf
Status: Downloaded newer image for portainer/agent:latest
66de9b06c21d699083c1cec8d032b0d36b9d044a072104a9bb8b1104c745beeb
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 59: exit code 0: while executing command $STD docker run -d -p 9001:9001 --name portainer_agent --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes portainer/agent

[ERROR] in line 1382: exit code 0: while executing command lxc-attach -n "$CTID" -- bash "$INSTALL_SCRIPT_FILE"

[23:38:42] ✅ SSH script execution finished with code: 126

🖼️ Additional context (optional).

No response

Originally created by @Aurel004 on GitHub (Nov 29, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/9515 ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 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/ct/docker.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📈 Which Proxmox version are you on? 9.0.11 ### 📝 Provide a clear and concise description of the issue. Tried installing Docker LXC Alpine/Non-Alpine, with and without default settings, using the PVE Scripts Local but I still do have this error ### 🔄 Steps to reproduce the issue. Install Docker LXC using the script ### ❌ Paste the full error output (if available). ``` ✔️ Installed Docker docker-v29.1.1 Install Docker Compose v2 plugin? <y/N> y ✔️ Installed Docker Compose v2.40.3 Would you like to add Portainer (UI)? <y/N> Would you like to install the Portainer Agent (for remote management)? <y/N> y ⏳ Installing Portainer Agent 1.6.1Unable to find image 'portainer/agent:latest' locally latest: Pulling from portainer/agent 0dc69d63cd77: Pull complete a0fe5447bf75: Pull complete 395d4d6cac1e: Pull complete a7b17dbff1c7: Pull complete 2e29d454995e: Pull complete d906623f8b05: Pull complete 66ca9cc35252: Pull complete 41a1a5c28be8: Pull complete f2e6bd2f8c64: Pull complete c4911d92bf4b: Download complete f91c263f03b8: Download complete Digest: sha256:d2e5f753e8c668f7a7916621e64d6535f212b0f6ade5389a6fcc1f6830405ccf Status: Downloaded newer image for portainer/agent:latest 66de9b06c21d699083c1cec8d032b0d36b9d044a072104a9bb8b1104c745beeb 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 59: exit code 0: while executing command $STD docker run -d -p 9001:9001 --name portainer_agent --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes portainer/agent [ERROR] in line 1382: exit code 0: while executing command lxc-attach -n "$CTID" -- bash "$INSTALL_SCRIPT_FILE" [23:38:42] ✅ SSH script execution finished with code: 126 ``` ### 🖼️ Additional context (optional). _No response_
kerem 2026-02-26 12:51:17 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Oci Error -> your Proxmox is Not up2date. Check current docker issue in our Repo, its an duplicate.

<!-- gh-comment-id:3592001198 --> @MickLesk commented on GitHub (Nov 29, 2025): Oci Error -> your Proxmox is Not up2date. Check current docker issue in our Repo, its an duplicate.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2092
No description provided.