mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
7d08f3a5ad
Support layers from external URLs
15 lines
369 B
Go
15 lines
369 B
Go
// +build linux freebsd darwin openbsd solaris
|
|
|
|
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
|
|
}
|