2018-02-05 21:05:59 +00:00
|
|
|
package api // import "github.com/docker/docker/api"
|
2014-02-24 19:48:14 +00:00
|
|
|
|
2015-03-24 01:30:09 +00:00
|
|
|
// Common constants for daemon and client.
|
2014-02-24 19:48:14 +00:00
|
|
|
const (
|
2024-01-22 15:49:26 +00:00
|
|
|
// DefaultVersion of the current REST API.
|
2024-01-19 13:42:19 +00:00
|
|
|
DefaultVersion = "1.45"
|
2015-06-17 21:57:32 +00:00
|
|
|
|
2024-01-22 15:49:26 +00:00
|
|
|
// MinSupportedAPIVersion is the minimum API version that can be supported
|
|
|
|
// by the API server, specified as "major.minor". Note that the daemon
|
|
|
|
// may be configured with a different minimum API version, as returned
|
|
|
|
// in [github.com/docker/docker/api/types.Version.MinAPIVersion].
|
|
|
|
//
|
|
|
|
// API requests for API versions lower than the configured version produce
|
|
|
|
// an error.
|
|
|
|
MinSupportedAPIVersion = "1.24"
|
|
|
|
|
2015-12-31 13:57:58 +00:00
|
|
|
// NoBaseImageSpecifier is the symbol used by the FROM
|
|
|
|
// command to specify that no base image is to be used.
|
2018-05-19 11:38:54 +00:00
|
|
|
NoBaseImageSpecifier = "scratch"
|
2014-02-24 19:48:14 +00:00
|
|
|
)
|