Skip to content
New issue

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

docker-ce-cli is not managed #597

Closed
vosdev opened this issue Apr 15, 2020 · 2 comments · Fixed by #740
Closed

docker-ce-cli is not managed #597

vosdev opened this issue Apr 15, 2020 · 2 comments · Fixed by #740
Labels

Comments

@vosdev
Copy link

vosdev commented Apr 15, 2020

Describe the Bug

Installing a specific version of docker-ce will leave you with the latest docker-ce-cli instead of the docker-ce-cli that is supposed to come with that version of docker-ce

Expected Behavior

Module to manage the version of both docker-ce and docker-ce-cli

Steps to Reproduce

My example host has

docker::version: '5:19.03.6~3-0~debian-buster'

result is a 19.03.6 docker daemon and 19.03.8 cli tool

Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for docker-dev.example.com
Info: Applying configuration version '1586961397'
Notice: /Stage[main]/Docker::Install/Package[docker]/ensure: created
Notice: Applied catalog in 25.11 seconds

~
root @ docker-dev # dpkg -l | grep docker
ii  docker-ce                            5:19.03.6~3-0~debian-buster  amd64        Docker: the open-source application container engine
ii  docker-ce-cli                        5:19.03.8~3-0~debian-buster  amd64        Docker CLI: the open-source application container engine

~
root @ docker-dev # docker --version
Docker version 19.03.8, build afacb8b7f0

Environment

  • Version 3.9.1
  • Platform Ubuntu 18.04

Additional Context

Add any other context about the problem here.

@vosdev vosdev added the bug label Apr 15, 2020
@voiprodrigo
Copy link

Came here to check for this as well, faced the same issue on Centos 7 and docker-ce 19.03.15 (cli remained at .12).

@stefanlasiewski
Copy link

Same thing here. Ubuntu 18.04.

# apt list --installed docker\* 
Listing... Done
docker-ce/bionic,now 5:19.03.14~3-0~ubuntu-bionic amd64 [installed]
docker-ce-cli/bionic,now 5:20.10.2~3-0~ubuntu-bionic amd64 [installed,automatic]

I don't remember what Docker's supported version skew is, but this might violate that.

kenyon added a commit to kenyon/puppetlabs-docker that referenced this issue Apr 4, 2021
Manage the docker-ce-cli package the same way as the docker-ce
package.

Fixes puppetlabs#597.

Also remove obsolete manual setting of package provider.
kenyon added a commit to kenyon/puppetlabs-docker that referenced this issue Apr 4, 2021
Manage the docker-ce-cli package the same way as the docker-ce
package.

Fixes puppetlabs#597.

Also remove obsolete manual setting of package provider.
kenyon added a commit to kenyon/puppetlabs-docker that referenced this issue Apr 4, 2021
Manage the docker-ce-cli package the same way as the docker-ce
package.

Fixes puppetlabs#597.

Also remove obsolete manual setting of package provider.
kenyon added a commit to kenyon/puppetlabs-docker that referenced this issue Jun 22, 2021
Manage the docker-ce-cli package the same way as the docker-ce
package.

Fixes puppetlabs#597.

Also remove obsolete manual setting of package provider.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants