Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create overlay network for docker, getting error datastore for scope "global" is not initialized

I am trying to create a network using docker 1.71 ubuntu image.

Everything is installed and working fine, however when I try to create my own network, I get the following error:

$docker network create -d overlay test
Error response from daemon: datastore for scope "global" is not initialized
like image 837
Ron D Avatar asked Aug 09 '16 03:08

Ron D


1 Answers

As mentioned in issue 939

the error clearly indicates that the daemon is not running in the newly introduced agent mode (docker/libnetwork#1149). Without that, daemon will expect KV-Store to be configured for any overlay network to be created.

For docker as ancient as 1.7, I would first upgrade it.
If not, try at least "Set up a key-value store¶"

like image 135
VonC Avatar answered Nov 15 '22 04:11

VonC