mirror of
https://github.com/louislam/dockge.git
synced 2026-03-03 02:06:55 -05:00
Empty "networks" section added to existing files #134
Labels
No labels
bug
feature-request
help
help wanted
invalid-format
need-reproduce-steps
question
security
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dockge-louislam#134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marktitorenkov on GitHub (May 18, 2024).
⚠️ Please verify that this bug has NOT been reported before.
🛡️ Security Policy
Description
When editing existing compose files (and creating new ones) an empty networks section is always added at the bottom.
For compose files that do not use the function this is unneeded.
👟 Reproduction steps
networks: {}linenetworks: {}line is added👀 Expected behavior
The
networks: {}line should not be added😓 Actual Behavior
The
networks: {}line is addedDockge Version
1.4.2
💻 Operating System and Arch
debian bookworm
🌐 Browser
Microsoft Edge 124.0.2478.97
🐋 Docker Version
Docker version 26.1.3, build b72abbb
🟩 NodeJS Version
No response
📝 Relevant log output
No response
@iTofu commented on GitHub (Aug 4, 2025):
Same problem, any update?
@eMuonTau commented on GitHub (Jan 1, 2026):
I think it is because deserialization/serialization. It removes empty lines too.