mirror of
https://github.com/docker/cli.git
synced 2026-10-14 01:44:24 -04:00
This is used to support downloading Windows base images from Microsoft servers. Signed-off-by: John Starks <jostarks@microsoft.com> Upstream-commit: 05bd04350b8348b3c3bbe3156420257313e4e804 Component: engine
16 lines
361 B
Go
16 lines
361 B
Go
// +build linux freebsd darwin openbsd
|
|
|
|
package layer
|
|
|
|
import "github.com/docker/docker/pkg/stringid"
|
|
|
|
func (ls *layerStore) mountID(name string) string {
|
|
return stringid.GenerateRandomID()
|
|
}
|
|
|
|
// ForeignSourceSupported returns whether layers downloaded from foreign sources are
|
|
// supported in this daemon.
|
|
func ForeignSourceSupported() bool {
|
|
return false
|
|
}
|