mirror of https://github.com/docker/docs.git
Print a warning for Boot2Docker v1.9.1, which is known to have an issue with AUFS (docker/docker#18180)
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
20b748e063
commit
51a30db7a2
|
@ -34,6 +34,12 @@ var (
|
|||
You may be getting rate limited by Github.`)
|
||||
)
|
||||
|
||||
var (
|
||||
AUFSBugB2DVersions = map[string]string{
|
||||
"v1.9.1": "https://github.com/docker/docker/issues/18180",
|
||||
}
|
||||
)
|
||||
|
||||
func defaultTimeout(network, addr string) (net.Conn, error) {
|
||||
return net.Dial(network, addr)
|
||||
}
|
||||
|
@ -144,6 +150,14 @@ func (b *b2dReleaseGetter) getReleaseURL(apiURL string) (string, error) {
|
|||
}
|
||||
|
||||
log.Infof("Latest release for %s/%s/%s is %s", host, org, repo, tag)
|
||||
bugURL, ok := AUFSBugB2DVersions[tag]
|
||||
if ok {
|
||||
log.Warnf(`
|
||||
Boot2Docker %s has a known issue with AUFS.
|
||||
See here for more details: %s
|
||||
Consider specifying another storage driver (e.g. 'overlay') using '--engine-storage-driver' instead.
|
||||
`, tag, bugURL)
|
||||
}
|
||||
url := fmt.Sprintf("%s://%s/%s/%s/releases/download/%s/%s", scheme, host, org, repo, tag, b.isoFilename)
|
||||
return url, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue