Docker Community Forums

Share and learn in the Docker community.

Docker for Mac Overlay Network now Broken for 1.12.0-rc3


(Andre Pollard) #1

Previously I had overlay networks working.

Overlay networks not working any more

Previously I configured
/Users/andrepollard/Library/Containers/com.docker.docker/Data/database/com.docker.driver.amd64-linux/etc/docker
daemon.json with my consul info and overlay network worked

{“storage-driver”:“aufs”,“debug”:true,“cluster-store”:"consul://127.0.0.1:8500”}

  • the output of:
    • Moby Menu > Diagnose & Feedback on OSX

Docker for Mac: version: mac-v1.12.0-beta18-3-gec40b14
OS X: version 10.11.5 (build: 15F34)
logs: /tmp/20160712-160256.tar.gz
[OK] docker-cli
[OK] app
[OK] menubar
[OK] virtualization
[OK] system
[OK] osxfs
[OK] db
[OK] slirp
[OK] moby-console
[OK] logs
[OK] vmnetd
[OK] env
[OK] moby
[OK] driver.amd64-linux

Steps to reproduce the behavior

  1. …docker network create -d overlay managed
    Error response from daemon: datastore for scope “global” is not initialized

(Frenchben) #2

Where is the consul service running?
Did you initialize a swarm?


(Andre Pollard) #3

I had a consul container which i started first

docker run --name consul -p 8500:8500 -p 8600:53/udp -h consul -d progrium/consul -server -bootstrap

It was working until i did the upgrade, then it stopped

I have since initialized swarm and just created networks, bypassing consul altogether

Andre


(Frenchben) #4

Happy to hear it’s working now -
During the upgrade, we execute a reboot, which means that if your container wasn’t set to restart --restart=always then it wouldn’t come back up after a reboot of Docker for Mac.