Docker VM install fails to set hostname #978

Closed
opened 2026-02-04 22:23:24 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @easyas314 on GitHub (May 18, 2025).

Have you read and understood the above guidelines?

yes

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

Docker VM

📂 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 12

📝 Provide a clear and concise description of the issue.

Advanced settings all as default except for hostname. PVE shows customized name, but console on container shows the hostname as localhost

Tested with Default settings and same result.

Also in both cases, hostnamectl shows local hostname as "(unset)"

🔄 Steps to reproduce the issue.

run script with default settings

Paste the full error output (if available).

no error output

🖼️ Additional context (optional).

No response

Originally created by @easyas314 on GitHub (May 18, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Docker VM ### 📂 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 - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. Advanced settings all as default except for hostname. PVE shows customized name, but console on container shows the hostname as `localhost` Tested with Default settings and same result. Also in both cases, `hostnamectl` shows local hostname as "(unset)" ### 🔄 Steps to reproduce the issue. run script with default settings ### ❌ Paste the full error output (if available). no error output ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 22:23:24 +03:00
Author
Owner

@sahibkhokhar commented on GitHub (May 22, 2025):

I am also seeing this

@sahibkhokhar commented on GitHub (May 22, 2025): I am also seeing this
Author
Owner

@MickLesk commented on GitHub (May 28, 2025):

Can you test the dev repo please?

Does this work fine?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/docker-vm.sh)"
@MickLesk commented on GitHub (May 28, 2025): Can you test the dev repo please? Does this work fine? ```bash bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/docker-vm.sh)" ```
Author
Owner

@easyas314 commented on GitHub (May 29, 2025):

Default and Advanced settings both work! Nice work. 👍🏾

@easyas314 commented on GitHub (May 29, 2025): Default and Advanced settings both work! Nice work. 👍🏾
Author
Owner

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

Okay, i merge it later 👍

@MickLesk commented on GitHub (May 29, 2025): Okay, i merge it later 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#978