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] #12577

Closed
zhengdaoTech opened this issue Feb 24, 2025 · 1 comment
Closed

[BUG] #12577

zhengdaoTech opened this issue Feb 24, 2025 · 1 comment

Comments

@zhengdaoTech
Copy link

Description

https://docs.docker.com/engine/install/ubuntu/#install-from-a-package
install docker and docker-compose step by step
docker is ok,

# docker version
Client: Docker Engine - Community
 Version:           28.0.0
 API version:       1.48
 Go version:        go1.23.6
 Git commit:        f9ced58
 Built:             Wed Feb 19 22:11:04 2025
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          28.0.0
  API version:      1.48 (minimum version 1.24)
  Go version:       go1.23.6
  Git commit:       af898ab
  Built:            Wed Feb 19 22:11:04 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.25
  GitCommit:        bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
 runc:
  Version:          1.2.4
  GitCommit:        v1.2.4-0-g6c52b3f
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

but docker compose don't install success

# docker-compose
Command 'docker-compose' not found, but can be installed with:
snap install docker          # version 27.5.1, or
snap install docker          # version 27.2.0
apt  install docker-compose  # version 1.29.2-6
See 'snap info <snapname>' for additional versions.

Steps To Reproduce

Ubuntu 24.04

$ sudo dpkg -i docker-compose-plugin_2.33.0-1~ubuntu.24.04~noble_amd64.deb 
(Reading database ... 86873 files and directories currently installed.)
Preparing to unpack docker-compose-plugin_2.33.0-1~ubuntu.24.04~noble_amd64.deb ...
Unpacking docker-compose-plugin (2.33.0-1~ubuntu.24.04~noble) over (2.33.0-1~ubuntu.24.04~noble) ...
Setting up docker-compose-plugin (2.33.0-1~ubuntu.24.04~noble) ...
root@ubuntu:~# whereis docker
docker: /usr/bin/docker /etc/docker /usr/libexec/docker /usr/share/man/man1/docker.1.gz

root@ubuntu:~# whereis docker-compose
docker-compose:

non docker-compose file create

Compose Version

docker-compose-plugin_2.33.0-1~ubuntu.24.04~noble_amd64.deb

Docker Environment

Client: Docker Engine - Community
 Version:    28.0.0
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.21.0
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.33.0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 2
 Server Version: 28.0.0
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
 runc version: v1.2.4-0-g6c52b3f
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.8.0-53-generic
 Operating System: Ubuntu 24.04.2 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 7.709GiB
 Name: ubuntu
 ID: 5119c79d-c216-41b9-b956-03d0e2654254
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  ::1/128
  127.0.0.0/8
 Registry Mirrors:
  https://720mwdeh.mirror.aliyuncs.com/
  https://docker.mirrors.ustc.edu.cn/
  https://docker.1panel.live/
 Live Restore Enabled: false

Anything else?

No response

@zhengdaoTech
Copy link
Author

docker-compose version

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

1 participant