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

Include docker-app plugin with docker image #156

Closed
kinghuang opened this issue May 3, 2019 · 9 comments
Closed

Include docker-app plugin with docker image #156

kinghuang opened this issue May 3, 2019 · 9 comments
Labels
Request Request for image modification or feature

Comments

@kinghuang
Copy link

Copied from docker/app#532

Description

Can the docker-app 0.8.0 CLI plugin be included with the docker 19.03 image (currently at docker:19.03.0-beta3)?

I previously asked for a docker-app image in docker/app#367, similar to the docker/compose image. But, with docker-app now functioning as a CLI plugin, it would be preferable to have it as part of the docker image.

Steps to reproduce the issue:

  1. Run a container with the docker:19.03.0-beta3 image.
  2. Attempt to use docker app commands.

Describe the results you received:

docker app commands aren't available. The docker-app CLI plugin is not included with the docker image.

Describe the results you expected:

Be able to use docker app commands.

Additional information you deem important (e.g. issue happens only occasionally):

There is currently no official image with Docker App, either as a plugin or as a standalone command. I need an image for CI jobs that use Docker App.

Output of docker version:

Client: Docker Engine - Community
 Version:           19.03.0-beta3
 API version:       1.40
 Go version:        go1.12.4
 Git commit:        c55e026
 Built:             Thu Apr 25 02:55:45 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Output of docker-app version:

Docker App is not available in the docker image.

Output of docker info:

N/A

Additional environment details (AWS, VirtualBox, physical, etc.):

@wglambert wglambert added the Request Request for image modification or feature label May 3, 2019
@tianon
Copy link
Member

tianon commented May 3, 2019

This image faithfully publishes whatever bits Docker officially provides via https://download.docker.com/linux/static/ (installing necessary dependencies and some very short scripts to help with usage in minor ways).

@tianon
Copy link
Member

tianon commented May 3, 2019

To put that another way, I don't think it makes sense for us to officially bundle any additional CLI (or otherwise) plugins that Docker's standard distribution does not include (since our main goal is to be a faithful representation of Docker's upstream bits).

@kinghuang
Copy link
Author

Ah, ok. I'll close this request and focus on asking for a docker-app image. Thanks!

@ijc
Copy link

ijc commented May 7, 2019

FWIW my reading of #156 (comment) is that we should (try and) arrange for plugins to be part of https://download.docker.com/linux/static/ and then it would be possible to include them in this image. @tianon did I understand you correctly?

@tianon
Copy link
Member

tianon commented May 7, 2019

I mean, yeah, if it's intended to be part of a standard distribution of Docker, it should be included with those "standard distribution" artifacts, right? 😇 👍

IMO it's kind of strange for these to be plugins but also included by default (instead of just having a way for folks to add it easily themselves), but that's a digression. 😅

@teohhanhui
Copy link

docker/app and docker/buildx are included as plugins in docker-ce since Docker 19.03: docker/docker-ce-packaging#309

@tianon
Copy link
Member

tianon commented Nov 26, 2019

Sure, but from my understanding, they're still not included in the official static bundles under https://download.docker.com/linux/static/ (or else we'd already have them included, since those are the bundles we consume as-is).

@wedi
Copy link

wedi commented Feb 25, 2022

buildx is included in all installation bundles for macOS, Windows and Linux for years now. The official buildx installation docs on docs.docker.com state that buildx is included in those packages. So, even if it was some package maintainers decision a few years back to include it for the fun of it, this is the officially endorsed way of installing and using buildx (now).

Yes, the buildx binaries are still not available from download.docker.com but looking at the docs and the eco system in a whole it seems safe to assume that they are not omitted for being unofficial or too experimental but because of an internal workflow that just works and sees no pressure to change. The docs point to the GitHub release page and nowadays nobody is afraid of downloading binaries from GitHub.

It's almost three years since you closed this issue. Docker advertises BuildKit as an enhancement to docker build without any constraints (including no requirement to install anything). Taking into account that buildx is here to stay and an officially endorsed part of the release bundles for all major OS and only missing from the docker images, I am asking you to reconsider this decision.

@daveisfera
Copy link

buildx is also where features are being added and today was advertised with statements like "why you should start to use it on your Dockerfiles", so can it please be added?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request Request for image modification or feature
Projects
None yet
Development

No branches or pull requests

7 participants