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

[BUG] docker/compose image last updated 2+ years ago #10053

Closed
winny- opened this issue Dec 7, 2022 · 2 comments
Closed

[BUG] docker/compose image last updated 2+ years ago #10053

winny- opened this issue Dec 7, 2022 · 2 comments

Comments

@winny-
Copy link

winny- commented Dec 7, 2022

Description

Anybody maintaining the docker/compose image?

Steps To Reproduce

Visit https://hub.docker.com/r/docker/compose/tags

image

Compose Version

docker-compose version 1.26.2, build eefe0d3
docker-py version: 4.2.2
CPython version: 3.7.7
OpenSSL version: OpenSSL 1.1.1g  21 Apr 2020

Docker Environment

(I'm running this in `docker run -ti --rm docker/compose` and i decided not to pass through the socket for this testing - out of scope of this discussion)


Client:
 Debug Mode: false

Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
/ # docker version
Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b7f0
 Built:             Wed Mar 11 01:22:56 2020
 OS/Arch:           linux/amd64
 Experimental:      false
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Anything else?

Ran into an issue related to moby/moby#31602 (comment) with a workaround of running apk add ca-certificates so LE certs and other newer CA certs continue to function so figured I'd check if the image is still maintained before putting in energy on trying to get a fix pushed through.

@nicksieger
Copy link
Member

We should figure out the best way to message that this image is no longer published; instead, you can find compose in the official docker image:

$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock docker:cli docker compose --help
Unable to find image 'docker:cli' locally
cli: Pulling from library/docker
261da4162673: Already exists
0eb5dec0c1f5: Pull complete
f90e06f20731: Pull complete
2f45adca8867: Pull complete
3d61cddf01dd: Pull complete
f24c9ba3ddce: Pull complete
0e7deb8a233d: Pull complete
1447d85b5ea1: Pull complete
Digest: sha256:812ff1098c97878ae26ca8e0423e00aa157596a8b28d4bd52c120c4d087e8ae1
Status: Downloaded newer image for docker:cli

Usage:  docker compose [OPTIONS] COMMAND

Docker Compose

Options:
      --ansi string                Control when to print ANSI control
                                   characters ("never"|"always"|"auto")
                                   (default "auto")
      --compatibility              Run compose in backward compatibility mode
      --env-file string            Specify an alternate environment file.
  -f, --file stringArray           Compose configuration files
      --profile stringArray        Specify a profile to enable
      --project-directory string   Specify an alternate working directory
                                   (default: the path of the, first
                                   specified, Compose file)
  -p, --project-name string        Project name

Commands:
  build       Build or rebuild services
  convert     Converts the compose file to platform's canonical format
  cp          Copy files/folders between a service container and the local filesystem
  create      Creates containers for a service.
  down        Stop and remove containers, networks
  events      Receive real time events from containers.
  exec        Execute a command in a running container.
  images      List images used by the created containers
  kill        Force stop service containers.
  logs        View output from containers
  ls          List running compose projects
  pause       Pause services
  port        Print the public port for a port binding.
  ps          List containers
  pull        Pull service images
  push        Push service images
  restart     Restart service containers
  rm          Removes stopped service containers
  run         Run a one-off command on a service.
  start       Start services
  stop        Stop services
  top         Display the running processes
  unpause     Unpause services
  up          Create and start containers
  version     Show the Docker Compose version information

Run 'docker compose COMMAND --help' for more information on a command.

@glours
Copy link
Contributor

glours commented Dec 8, 2022

And if you don't want to bind the socket you can also use the docker in docker version of the official image
docker run --rm docker:dind docker compose version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants