LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-21-2023, 11:32 AM   #1
MakeTopSite
Member
 
Registered: Jan 2021
Location: EU
Distribution: Ubuntu, openSUSE Leap & TW, Devuan, Debian
Posts: 252

Rep: Reputation: 3
Ubuntu 22.04: docker is missing compose command


Ubuntu:
Code:
# docker

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Common Commands:
  run         Create and run a new container from an image
  exec        Execute a command in a running container
  ps          List containers
  build       Build an image from a Dockerfile
  pull        Download an image from a registry
  push        Upload an image to a registry
  images      List images
  login       Log in to a registry
  logout      Log out from a registry
  search      Search Docker Hub for images
  version     Show the Docker version information
  info        Display system-wide information

Management Commands:
  builder     Manage builds
  container   Manage containers
  context     Manage contexts
  image       Manage images
  manifest    Manage Docker image manifests and manifest lists
  network     Manage networks
  plugin      Manage plugins
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

# docker -v
Docker version 24.0.6, build ed223bc
Devuan Chimaera 4.0:
Code:
# docker

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Common Commands:
  run         Create and run a new container from an image
  exec        Execute a command in a running container
  ps          List containers
  build       Build an image from a Dockerfile
  pull        Download an image from a registry
  push        Upload an image to a registry
  images      List images
  login       Log in to a registry
  logout      Log out from a registry
  search      Search Docker Hub for images
  version     Show the Docker version information
  info        Display system-wide information

Management Commands:
  builder     Manage builds
  buildx*     Docker Buildx (Docker Inc., v0.11.2)
  compose*    Docker Compose (Docker Inc., v2.21.0)
  container   Manage containers
  context     Manage contexts
  image       Manage images
  manifest    Manage Docker image manifests and manifest lists
  network     Manage networks
  plugin      Manage plugins
  scan*       Docker Scan (Docker Inc., v0.23.0)
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes


# docker -v
Docker version 24.0.6, build ed223bc
How is it please possible Ubuntu docker is missing some commands (compared to Devuan) although it is same version as in Devuan ?
 
Old 09-21-2023, 12:18 PM   #2
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,607

Rep: Reputation: 2550Reputation: 2550Reputation: 2550Reputation: 2550Reputation: 2550Reputation: 2550Reputation: 2550Reputation: 2550Reputation: 2550Reputation: 2550Reputation: 2550
Quote:
Originally Posted by MakeTopSite View Post
How is it please possible Ubuntu docker is missing some commands (compared to Devuan) although it is same version as in Devuan ?
Easy, the docker compose command will be a separate package.

The version number next to the command makes that pretty much guaranteed.

A trivial search involving the words "docker" and "compose" confirms that's exactly the case; "compose" is a plugin.

 
1 members found this post helpful.
Old 09-21-2023, 12:35 PM   #3
MakeTopSite
Member
 
Registered: Jan 2021
Location: EU
Distribution: Ubuntu, openSUSE Leap & TW, Devuan, Debian
Posts: 252

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by boughtonp View Post
Easy, the docker compose command will be a separate package.

The version number next to the command makes that pretty much guaranteed.

A trivial search involving the words "docker" and "compose" confirms that's exactly the case; "compose" is a plugin.

Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Deprecated Linux commands, Podman Compose vs. Docker Compose, and more sysadmin tips LXer Syndicated Linux News 0 07-05-2022 08:14 AM
LXer: Podman Compose or Docker Compose: Which should you use in Podman? LXer Syndicated Linux News 0 06-18-2022 04:48 PM
LXer: Install and Use Docker Compose with Docker on Ubuntu 22.04 LXer Syndicated Linux News 0 05-10-2022 11:26 PM
LXer: Setup Ruby on Rails Development environment with Docker and Docker Compose on Ubuntu LXer Syndicated Linux News 0 05-22-2019 10:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration