Skip to content

docs: add troubleshooting for docker network error#3926

Open
karthikreddy358 wants to merge 3 commits intoeclipse-sw360:mainfrom
karthikreddy358:first-pr
Open

docs: add troubleshooting for docker network error#3926
karthikreddy358 wants to merge 3 commits intoeclipse-sw360:mainfrom
karthikreddy358:first-pr

Conversation

@karthikreddy358
Copy link

Adds troubleshooting documentation for the Docker Compose error:

service "sw360" refers to undefined network sw360-network

This issue can occur when the docker-compose.yml references a network that is not defined in the networks section. The documentation now explains the cause and solution for contributors setting up SW360 with Docker.

@karthikreddy358
Copy link
Author

/recheck

@GMishx GMishx added needs code review needs general test This is general testing, meaning that there is no org specific issue to check for labels Mar 23, 2026
Comment on lines +211 to +212
## Troubleshooting
Inside it, replace the current Docker Network Error section with the following content:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your PR already solves it. Why would someone need to fix it manually again? 🤷

Comment on lines 26 to +27
networks:
- sw360-network
- default
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No other service mentions a network. Lets remove it from it so docker takes the default.


networks:
default:
name: sw360net
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert irrelevant change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs code review needs general test This is general testing, meaning that there is no org specific issue to check for

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants