mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00

**podman compose** is a thin wrapper around an external compose provider such as docker-compose or podman-compose. This means that `podman compose` is executing another tool that implements the compose functionality but sets up the environment in a way to let the compose provider communicate transparently with the local Podman socket. The specified options as well the command and argument are passed directly to the compose provider. The default compose providers are `docker-compose` and `podman-compose`. If installed, `docker-compose` takes precedence since it is the original implementation of the Compose specification and is widely used on the supported platforms (i.e., Linux, Mac OS, Windows). If you want to change the default behavior or have a custom installation path for your provider of choice, please change the `compose_provider` field in `containers.conf(5)`. You may also set the `PODMAN_COMPOSE_PROVIDER` environment variable. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
19 lines
532 B
Go
19 lines
532 B
Go
package specs
|
|
|
|
import "fmt"
|
|
|
|
const (
|
|
// VersionMajor is for an API incompatible changes
|
|
VersionMajor = 1
|
|
// VersionMinor is for functionality in a backwards-compatible manner
|
|
VersionMinor = 1
|
|
// VersionPatch is for backwards-compatible bug fixes
|
|
VersionPatch = 0
|
|
|
|
// VersionDev indicates development branch. Releases will be empty string.
|
|
VersionDev = ""
|
|
)
|
|
|
|
// Version is the specification version that the package types support.
|
|
var Version = fmt.Sprintf("%d.%d.%d%s", VersionMajor, VersionMinor, VersionPatch, VersionDev)
|