moby / moby/libnetwork

How does scope "swarm" differ to scope "global"

Open
#2,281 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.2k
Forks
875
PR merge metrics
No merged PRs in 30d

Description

Hello,
I am working on setting up a docker network and found myself a bit confused.
When I create networks not in a swarm, I get the "global" scope, whilst those in a swarm get the "swarm" scope.
How do the two different scopes differ?
Is there a way to access global scope networks from a swarm?
Can I access swarm scope networks from outside the swarm?

Any help is very much appreciated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the project's documentation or implementation of Docker network scopes and Swarm networking, then verify the answers to the three access questions. Done means an authoritative explanation of global versus swarm scope and their accessibility boundaries.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
networking
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.