compose icon indicating copy to clipboard operation
compose copied to clipboard

docker-compose pull command with profiles doesn't pull any images

Open kamileon opened this issue 5 years ago • 2 comments

When using docker-compose pull command new versions of the images are not being pulled from repository when using https://docs.docker.com/compose/profiles/

Output of docker-compose version

docker-compose version 1.29.1, build c34c88b2
docker-py version: 5.0.0
CPython version: 3.9.0
OpenSSL version: OpenSSL 1.1.1h  22 Sep 2020

Output of docker version

Client:
 Cloud integration: 1.0.14
 Version:           20.10.6
 API version:       1.41
 Go version:        go1.16.3
 Git commit:        370c289
 Built:             Fri Apr  9 22:46:57 2021
 OS/Arch:           darwin/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.6
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       8728dd2
  Built:            Fri Apr  9 22:44:56 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.4
  GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
 runc:
  Version:          1.0.0-rc93
  GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Docker compose file

version: "3.9"
services:
  phpmyadmin:
    image: phpmyadmin
    depends_on:
      - db
    profiles:
      - debug
      
  db:
    image: mysql

Steps to reproduce the issue

  1. docker-compose up
  2. Publish new version of the container
  3. docker-compose pull

Observed result

No new images are being pulled and docker-compose pull command exits without any output.

Expected result

Images being checked for new versions and pulled.

kamileon avatar Jun 11 '21 16:06 kamileon

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 16:04 stale[bot]

This issue has been automatically closed because it had not recent activity during the stale period.

stale[bot] avatar Apr 27 '22 22:04 stale[bot]