[GH-ISSUE #6991] Can't install alpine-based containers. #1490

Closed
opened 2026-02-26 12:49:12 +03:00 by kerem · 5 comments
Owner

Originally created by @FabrizioRomanoGenovese on GitHub (Aug 19, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/6991

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?

No response

📝 Provide a clear and concise description of the issue.

I don't know why the alpine-docker script doesn't work anymore on my machine. I tried also the alpine container script (alpine.sh) with the same result. I was literally using this script yesterday without problems so I don't know what may have happened. The scripts essentially complain about not finding alpine templates locally (false), go on trying to download them, and fail. I've tried with debian-based docker and I found no problems.

🔄 Steps to reproduce the issue.

Just run the script.

Paste the full error output (if available).

    ___    __      _                  ____             __            
   /   |  / /___  (_)___  ___        / __ \____  _____/ /_____  _____
  / /| | / / __ \/ / __ \/ _ \______/ / / / __ \/ ___/ //_/ _ \/ ___/
 / ___ |/ / /_/ / / / / /  __/_____/ /_/ / /_/ / /__/ ,< /  __/ /    
/_/  |_/_/ .___/_/_/ /_/\___/     /_____/\____/\___/_/|_|\___/_/     
        /_/                                                          
  ⚙️  Using Default Settings on node servers
  🆔  Container ID: 105
  🖥️  Operating System: alpine (3.22)
  📦  Container Type: Unprivileged
  💾  Disk Size: 2 GB
  🧠  CPU Cores: 1
  🛠️  RAM Size: 1024 MiB
  🚀  Creating a Alpine-Docker LXC using the above default settings
  
  ✔️   Storage local (Free: 220.4GB  Used: 121.1MB) [Template]
  ✔️   Storage local-zfs (Free: 220.4GB  Used: 1.2GB) [Container]
  ⏳   No local template found, checking online repository0: line 276: TEMPLATES: bad array subscript

[ERROR] in line 1160: exit code 0: while executing command bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" $?

🖼️ Additional context (optional).

pveam list local
NAME                                                         SIZE  
local:vztmpl/alpine-3.22-default_20250617_amd64.tar.xz       3.12MB
local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst         120.65MB
Originally created by @FabrizioRomanoGenovese on GitHub (Aug 19, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/6991 ### ✅ 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 - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📝 Provide a clear and concise description of the issue. I don't know why the alpine-docker script doesn't work anymore on my machine. I tried also the alpine container script (alpine.sh) with the same result. I was literally using this script yesterday without problems so I don't know what may have happened. The scripts essentially complain about not finding alpine templates locally (false), go on trying to download them, and fail. I've tried with debian-based docker and I found no problems. ### 🔄 Steps to reproduce the issue. Just run the script. ### ❌ Paste the full error output (if available). ``` ___ __ _ ____ __ / | / /___ (_)___ ___ / __ \____ _____/ /_____ _____ / /| | / / __ \/ / __ \/ _ \______/ / / / __ \/ ___/ //_/ _ \/ ___/ / ___ |/ / /_/ / / / / / __/_____/ /_/ / /_/ / /__/ ,< / __/ / /_/ |_/_/ .___/_/_/ /_/\___/ /_____/\____/\___/_/|_|\___/_/ /_/ ⚙️ Using Default Settings on node servers 🆔 Container ID: 105 🖥️ Operating System: alpine (3.22) 📦 Container Type: Unprivileged 💾 Disk Size: 2 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 1024 MiB 🚀 Creating a Alpine-Docker LXC using the above default settings ✔️ Storage local (Free: 220.4GB Used: 121.1MB) [Template] ✔️ Storage local-zfs (Free: 220.4GB Used: 1.2GB) [Container] ⏳ No local template found, checking online repository0: line 276: TEMPLATES: bad array subscript [ERROR] in line 1160: exit code 0: while executing command bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/create_lxc.sh)" $? ``` ### 🖼️ Additional context (optional). ``` pveam list local NAME SIZE local:vztmpl/alpine-3.22-default_20250617_amd64.tar.xz 3.12MB local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst 120.65MB ```
kerem 2026-02-26 12:49:12 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MickLesk commented on GitHub (Aug 19, 2025):

I can check it tomorrow

<!-- gh-comment-id:3201392227 --> @MickLesk commented on GitHub (Aug 19, 2025): I can check it tomorrow
Author
Owner

@FabrizioRomanoGenovese commented on GitHub (Aug 19, 2025):

As I said I was using this script less than 24 hours ago. I don't know if you pushed some update in the meantime but if you didn't it may very well be a problem on my end, in which case I'd really appreciate at least some pointers to solve the problem tho 😆

<!-- gh-comment-id:3201424194 --> @FabrizioRomanoGenovese commented on GitHub (Aug 19, 2025): As I said I was using this script less than 24 hours ago. I don't know if you pushed some update in the meantime but if you didn't it may very well be a problem on my end, in which case I'd really appreciate at least some pointers to solve the problem tho 😆
Author
Owner

@FabrizioRomanoGenovese commented on GitHub (Aug 19, 2025):

...Looking closely, in yesterday installed LXCs alpine version is 3.22.1, whereas in the script I only read 3.22. I don't know if this may be the problem or not, just giving some pointers.

<!-- gh-comment-id:3201432700 --> @FabrizioRomanoGenovese commented on GitHub (Aug 19, 2025): ...Looking closely, in yesterday installed LXCs alpine version is `3.22.1`, whereas in the script I only read `3.22`. I don't know if this may be the problem or not, just giving some pointers.
Author
Owner

@MickLesk commented on GitHub (Aug 19, 2025):

fixed

<!-- gh-comment-id:3201630481 --> @MickLesk commented on GitHub (Aug 19, 2025): fixed
Author
Owner

@FabrizioRomanoGenovese commented on GitHub (Aug 19, 2025):

Phenomenal, I confirm this solves the issue. Thank you!

<!-- gh-comment-id:3201646777 --> @FabrizioRomanoGenovese commented on GitHub (Aug 19, 2025): Phenomenal, I confirm this solves the issue. Thank you!
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#1490
No description provided.