简体   繁体   中英

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

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¶ "

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM