-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker swarm problems with Mac OS X as nodes #38618
Comments
I will take a look at the code with stack trace. |
I updated to the latest docker-ce version on server. No change. |
Thanks for reporting! We were discussing this issue internally; the panic/crash happens here; https://github.com/docker/libnetwork/blob/b10559f6c05e73cc34b7221784ef09f6cf2c9a7a/networkdb/cluster.go#L291 And could happen if node.ID not yet present in the list (possibly a race condition), or if the node-ID is empty (which may be an issue in Docker for Mac). The daemon should print a message @user121216 could you check if you can find that message in the daemon logs? A pull request was opened to prevent the daemon from crashing in that situation, and to retry on the next chance; moby/libnetwork#2325, but would be good to know what's leading to that situation. |
Hi, Where can I find the daemon logs on Mac OS X? |
The fix for the panic was included in 18.09.4; see docker-archive#169 |
In the current mac os x edge version it is fixed (contains Docker 19.03.0-beta3). |
Description
With an CentOS as manager, it's only possible to join the swarm with one Mac OS X (10.13) at the same time otherwise the docker node engine is crashing (error stack see below).
Steps to reproduce the issue:
docker swarm init --advertise-addr 192.168.5.10:2377
docker swarm join --token #### 192.168.5.10:2377
docker swarm join --token #### 192.168.5.10:2377
Describe the results you received:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Server
Mac OS X (other Mac OS X similar)
Output of
docker info
:Server
Mac OS X (other Mac OS X similar)
Additional environment details (AWS, VirtualBox, physical, etc.):
The docker
Name: linuxkit-025000000001
is for all Mac OS X installations the same. Probably this won't work well together?!For testing I added 2 CentOS nodes and these are working fine (also the name is equal to the real hostname).
The text was updated successfully, but these errors were encountered: