github.com/tonistiigi/docker@v0.10.1-0.20240229224939-974013b0dc6a/api/common.go (about) 1 package api // import "github.com/docker/docker/api" 2 3 // Common constants for daemon and client. 4 const ( 5 // DefaultVersion of the current REST API. 6 DefaultVersion = "1.45" 7 8 // MinSupportedAPIVersion is the minimum API version that can be supported 9 // by the API server, specified as "major.minor". Note that the daemon 10 // may be configured with a different minimum API version, as returned 11 // in [github.com/docker/docker/api/types.Version.MinAPIVersion]. 12 // 13 // API requests for API versions lower than the configured version produce 14 // an error. 15 MinSupportedAPIVersion = "1.24" 16 17 // NoBaseImageSpecifier is the symbol used by the FROM 18 // command to specify that no base image is to be used. 19 NoBaseImageSpecifier = "scratch" 20 )