We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A docker-compose version from 2017 is not ideal
Support for newer version of docker-compose installed via
class { 'docker::compose': ensure => present, version => 'latest', }
package { 'docker-compose-plugin': ensure => $docker_version, require => Class['docker'], }
But then puppet agent -t says:
puppet agent -t
Error: Could not find a suitable provider for docker_compose
So then I use a symlink /bin/docker-compose -> /usr/libexec/docker/cli-plugins/docker-compose and now it works
/bin/docker-compose -> /usr/libexec/docker/cli-plugins/docker-compose
file { '/bin/docker-compose': ensure => 'link', target => '/usr/libexec/docker/cli-plugins/docker-compose', }
We are using CentOS 7.
[root@vag:~]# docker-compose --version docker-compose version 1.18.0, build 8dd22a9
The text was updated successfully, but these errors were encountered:
you can tell it to grab a later version via version => '1.29.2'
but I don't think it supports version 2 yet
Sorry, something went wrong.
Correct! You can specify the version of compose with the version parameter:
version
class {'docker::compose': ensure => present, version => '1.9.0', }
Also, with regards to v2. The module currently does not support it but this might be something that we consider in the future.
Thanks!
docker-compose-plugin
docker_compose
chelnak
No branches or pull requests
Use Case
A docker-compose version from 2017 is not ideal
Describe the Solution You Would Like
Support for newer version of docker-compose installed via
Describe Alternatives You've Considered
But then
puppet agent -t
says:Error: Could not find a suitable provider for docker_compose
So then I use a symlink
/bin/docker-compose -> /usr/libexec/docker/cli-plugins/docker-compose
and now it worksAdditional Context
We are using CentOS 7.
The text was updated successfully, but these errors were encountered: