Before this change, the tarball was downloaded as vVERSION.tar.gz.
For example, it was v2.26.1.tar.gz and that file was put into the dl folder
within the OpenWrt build system.
After this change, the tarball is properly downloaded as NAME-vVERSION.tar.gz.
In this case, it will look like this: docker-compose-v.2.26.1.tar.gz
The advantages of using this:
- Users, developers will know that what they downloaded (it has name and version)
- The tarball will not be overwritten by another package with the same version.
Signed-off-by: Javier Marcet <javier@marcet.info>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[added commit message]
(cherry picked from commit 261b38c14b)
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.
Signed-off-by: Andre Heider <a.heider@gmail.com>
What's Changed:
- Enhancements:
- add support of environment secret during build step by @glours
- Fixes:
- networks: prevent issues due to duplicate names by @milas
- Use appropriate dependency condition for one-shot containers when
running compose up --wait by @laurazard
- Fix environment variable expansion by @ulyssessouza in
compose-spec/compose-go#276
- Validate depended-on services exist in consistency check by
@laurazard in compose-spec/compose-go#281
- Fix hash usage in environment values by @ulyssessouza in
compose-spec/compose-go#283
- build: respect dependency order for classic builder by @milas
- fix: panic caused by empty string argument by @nicksieger
- (re)start should not impact one-off containers by @ndeloof
- Fix issue with close networks name on up and down command by
@glours
- keep the container reference when volumes_from target a container
and not a service by @glours
- build.go: initialize CustomLabels map if nil by @paroque28
Signed-off-by: Javier Marcet <javier@marcet.info>
Enhancements:
- Support for setting secret from env variable by @ndeloof
Fixes:
- Do not start unrelated dependencies on run by @laurazard
- Fix service not found errors when using --no-deps by @nicksieger
- Respect COMPOSE_REMOVE_ORPHANS env var on down by @nicksieger
- Fix project level bind mounts volumes by @ulyssessouza
- Respect deploy.limits.cpus and deploy.limits.pids by @glours
Internal:
- Upgrade: Go v1.18.3 by @thaJeztah
- Upgrade: compose-go v1.2.8 by @milas
- Upgrade: buildx v0.8.2 by @dependabot
- Upgrade: containerd v1.6.6 by @dependabot
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed:
- fix TestLocalComposeUp which fail locally and bump compose-go to
1.2.7 by @glours
- attach only to services declared by project applying profiles by
@ndeloof
- Add ddev's e2e test by @ulyssessouza
- Fix local run of make e2e-compose-standalone by @ulyssessouza
- fix: prevent flickering prompt when pulling same image from N
services by @maxcleme
- add tags property to build section by @glours
- update golang version to 1.18 by @glours
- bump compose-go to 1.2.6 by @maxcleme
- add e2e tests to verify env variables priority by @glours
- Import dotenv file to os environment by @ulyssessouza
New Contributors:
- @maxcleme made their first contribution
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed:
- Fix relative paths on envfile label by @ulyssessouza
- down: Reject all arguments by @Jille
- Clarify what default work dir is when multiple compose files by
@quite
- compose down exit=0 if nothing to remove by @ndeloof
- cp command: copy to all containers of a service as default
behaviour by @glours
- Fix extra space printed with --no-log-prefix option by @jan4843
- bump compose-go to 1.2.5 by @ndeloof
New Contributors:
- @Jille made their first contribution
- @quite made their first contribution
- @jan4843 made their first contribution
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed:
- Fix search/replace typo in --no-TTY documentation by @ericfreese
- Fix panic with down command when -p flag specified by @glours
- use project we just created to start services by @ndeloof
- include services declared by links as implicit dependencies by
@ndeloof
- pull to respect pull_policy by @ndeloof
- don't ignore error by @ndeloof
- project name MUST be lowercase by @ndeloof
- add support for build secrets by @ndeloof
- create also a checksums.txt file, add --binary by @MaxPeal
- add support for ppc64le for docker compose by @snehakpersistent
- inspect image ID after pull to se com.docker.compose.image by
@ndeloof
- Fix cannot setup IPAM gateway by @qnap-ericfan
New Contributors:
- @ericfreese made their first contribution
- @MaxPeal made their first contribution
- @snehakpersistent made their first contribution
- @qnap-ericfan made their first contribution
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed:
- now we use directly the Docker CLI to run autoremove flag should
be p… by @glours
- use ssh config when building from compose up by @glours
- get Tty from container to know adequate way to attach to by
@ndeloof
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed:
- pass interactive flag to ExecOptions for the RunExec command by
@glours
- go.mod: pin k8s version to fix build on go1.16, and update buildx
to v0.8.1 by @thaJeztah
- support cache_from|to|no|pull by @ndeloof
- fix race condition on start-stop e2e tests running in parrallel by
@glours
- Add support of ssh authentications defined in compose file or via
cli… by @glours
- fix typo in ssh option description by @mschoettle
- Takes COMPOSE_PROJECT_NAME into consideration on commands by
@ulyssessouza
- Remove dead warning code by @ulyssessouza
- Fix down command without any resource to delete by @ulyssessouza
- vendor: github.com/containerd/containerd v1.6.2 by @thaJeztah
New Contributors:
- @mschoettle made their first contribution
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed:
- don't fail trying to remove container with no candidate by @ndeloof
- recreate container after image has been rebuilt/pulled by @ndeloof
- ps: un-deprecate --filter, and enhance docs by @thaJeztah
- Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 by @dependabot
- Remove DEPRECATED text, since it's just the default by
@ulyssessouza
- Bump Buildx to v0.8.0 by @ndeloof
- kill only need project name by @ndeloof
- don't remove external volumes/networks by @ndeloof
- use docker/cli RunExec and RunStart to handle all the
interactive/tty/* terminal logic by @ndeloof
- Validate doc on pr by @glours
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed:
- use plain text progress when ansi=never is set by @ndeloof
- build full compose model from resources, then filter by services by
@ndeloof
- add run with dependencies e2e test by @glours
- add support for device_cgroup_rules by @ndeloof
- composeService to use dockerCli's In/Out/Err streams by @ndeloof
- fix generated YAML missing an "examples" section, and update
cli-docs-tool to v0.4.0 by @thaJeztah
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed:
- 2.3.2:
- Fix json format for version command by @victor-timofei
- filter containers after project has been rebuilt from resources by
@ndeloof
- publish a draft release with auto generate release notes by
@glours
- map --interactive to StdinOpen by @ndeloof
- 2.3.1:
- Support COMPOSE_IGNORE_ORPHANS for compose run by @PIG208
- don't try to start dependencies when there are none by @ndeloof
- don't failed when trying to stop or rm services with no containers
ru… by @glours
- 2.3.0:
- Don't wait forever for unhealthy dependencies by @benesch
- Add progress output while waiting for dependencies by @benesch
- Discard env_file section on convert/config by @ulyssessouza
- Return only numbers in short version by @guillaumerose
- Don't SetRawTerminal() when exec is run with -T by @x-yuri
- only remove volumes set by compose file by @ndeloof
- Set NetworkMode correctly according to network priorities by
@laurazard
- go.mod: github.com/buger/goterm v1.0.4 by @thaJeztah
- Fix typo in reference/compose_up.md by @danBamikiya
- Fix pause/unpause by only applying to running containers by
@ulyssessouza
- use CustomLabels for composeV2 metadata and not impact service
hash by @ndeloof
- use golangci-lint-action by @ndeloof
- Adds support to list the config files on docker compose ls by
@KoditkarVedant
- declare --volume as an alias for --volumes by @ndeloof
- bump buildx to 0.7.1 by @ndeloof
- Wait and scale 0 by @glours
- Bump github.com/containerd/containerd from 1.5.8 to 1.6.0 by
@dependabot
- COMPOSE_REMOVE_ORPHANS can be set to always apply --remove-orphans
by @ndeloof
- Using start, stop, restart from outside the working directory
using --project-name (#9147) by @arhemd
- exclude com.docker.compose.image label from service hash by
@ndeloof
- Bump compose-go 1.0.9 by @ulyssessouza
- Bump compose-go 1.1.0 by @ulyssessouza
- Bump docker/distribution -> v2.8.0 by @ulyssessouza
- report external volume name not found by @ndeloof
- Bump github.com/containerd/containerd from 1.6.0 to 1.6.1 by
@dependabot
- CONTRIBUTING.md file. Update slack sign-up link by @teror4uks
- Add function to convert strings to bool by @ulyssessouza
- Add -i and -t to run and exec by @ulyssessouza
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed
- compose images should list images of created containers by @kiniou
- Ignore missing (swarm) overlay networks by @ndeloof
- Remove intermediate containers when build succeeded in classic
build by @notok
- compose ps: fix typo "unknow" -> "unknown" by @webignition
- Add 2 modes test mechanism by @ulyssessouza
- Handle "stop" event by @ndeloof
- Only kill running containers by @ulyssessouza
- compose cp doesn't need a full project and can copy from stopped
containers by @ndeloof
- Add dependabot by @ulyssessouza
- Do not try to guess when to allocate a TTY and keep it as default
by @ulyssessouza
- Bump github.com/golang/mock from 1.5.0 to 1.6.0 by @dependabot
- Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 by @dependabot
- Bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1 by
@dependabot
- Bump github.com/buger/goterm from 1.0.0 to 1.0.3 by @dependabot
- Propagate GroupAdd from ServiceConfig to HostConfig by
@lancechentw
- Bump github.com/containerd/console from 1.0.2 to 1.0.3 by
@dependabot
- Bump github.com/AlecAivazis/survey/v2 from 2.2.3 to 2.3.2 by
@dependabot
- Added volume bind option SELinux label :z :Z by @tymonx
- Downgrade goterm to 1.0.1 by @ulyssessouza
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed:
- Return an error when failing to list containers by @ulyssessouza
- compose logs to notify printer about container lifecycle events by
@ndeloof
- Turn external volume usage into a warning instead of erroring by
@ulyssessouza
- Use filepath instead of path to check if the dockerfile path is
abolute or not by @glours
- Upgrade version of opencontainers/image-spec (security issue) by
@glours
- Merge and fix Convert function from docker/compose-switch by
@ulyssessouza
- Fix to use Key instead of Service for graph updates by @Mygao
- Fix links resolution by @ulyssessouza
- Don't check compose labels on external volumes by @ndeloof
- Refactoring variable name by @ulyssessouza
- Add multiargs build e2e tests by @ulyssessouza
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed:
- Better detect container will restart by @ndeloof in #8898
- Type mismatch checking tmpfs conflicting options by @ndeloof in
#8904
- Remove unused flag by @ulyssessouza in #8923
- Use Dockerfile directly when path is absolute otherwise join it
with Context path by @glours in #8929
- Interrupt printer when compose log is cancelled by @ndeloof in
#8926
- Restore compose build to support context set as a git URL by
@ndeloof in #8933
- Upgrade containerd version - security fix by @glours in #8936
- Don't SetRawTerminal when run is ran with -T by @ndeloof in #8938
- Fix typo in --wait option mechanism by @PierreAntoineGuillaume in
#8888
- Detect volume we didn't created and ask user to explicitely mark
them as external by @ndeloof in #8941
- Bump compose-go to v1.0.8 by @mat007 in #8956
- Don't normalize compose model in compatibility mode by @ndeloof
in #8943
- Don't try to start services with 0 replicas by @akerouanton in
#8834
- Introduce docker compose config --images by @ndeloof in #8955
- Introduce run —quiet-pull to align with up by @ndeloof in #8947
Signed-off-by: Javier Marcet <javier@marcet.info>
What's Changed:
- Fix the maintainers array in MAINTAINERS by @rumpl in #8868
- Introduce up --wait condition by @ndeloof in #8777
- Don't exit on container destroy events by @sdt in #8859
- Update golang to 1.17 by @rumpl in #8873
- Support inherited environment vars on exec by @ulyssessouza in #8857
- Restore support for multiple build-args by @ndeloof in #8889
Signed-off-by: Javier Marcet <javier@marcet.info>
Docker Compose V2 is a major version bump release of Docker Compose.
It has been completely rewritten from scratch in Golang (V1 was in
Python).
Features:
- Added support for running the plugin as a standalone program. Like
docker-compose v1 would behave compute sha256 checksums while releasing
Bugfixes:
- Allow combination of --status and --services
- Fix build cache_from option
- Fix compose up on README.md
- Make --status a multi-flag
- No longer fail when inferred .env is a directory
Misc
- Stop ticker after use on ttyWriter
- Use uname -m for cross platform suffixes
- Add note about installing it system-wide
- Bump containerd 1.5.5
What's Changed
- Fix support for devices by @ndeloof in #8732
- Make command descriptions consistent by @mat007 in #8739
- Restore missing version commands by @Shikachuu in #8738
- Add step in README to install on linux by @Yopadd in #8755
- log --follow must stop when container get killed by @ndeloof in
#8726
- Fix index out of range on compose.buildContainerMountOptions by
@ulyssessouza in #8750
- Pass runtime option to containerCreate by @ndeloof in #8783
- Fix compose down --timeout/-t flag by @debdutdeb in #8788
- Fix network_mode "service:x" by @ulyssessouza in #8792
- Make service>build>dockerfile a simple filename by @ulyssessouza
in #8779
- Compose exec cannot process more than 32KB of data by @resios in
#8815
- Actually fix Compose exec cannot process more than 32KB of data by
@resios in #8816
- Fix project settings' options order by @ulyssessouza in #8819
- Update link to Docker Community Slack by @mat007 in #8824
- Add support for DOCKER_DEFAULT_PLATFORM by @ndeloof in #8848
- COMPOSE_COMPATIBILITY can be set by .env file by @ndeloof in #8847
- Add support for EnableIPv6 by @ndeloof in #8851
- Avoid test flakyness by ordering volumes before checking by
@ulyssessouza in #8858
- Update README.md: typographical edit of "About update..." by
@youssefeldakar in #8838
- Add support for classic builder by @ulyssessouza in #8818
- Fix typo: netwok -> network by @Mygao in #8789
- Bump compose-go to v1.0.5 by @ulyssessouza in #8870
Signed-off-by: Javier Marcet <javier@marcet.info>
They don't use python3-websocket-client since 2014, but they still list it in
dependencies: https://github.com/docker/compose/issues/8455
The dependency is still pulled in through python3-docker
* switch to AUTORELEASE
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
Miscellaneous:
- Remove prompt to use docker compose in the up command
- Bump py to 1.10.0 in requirements-indirect.txt
Signed-off-by: Javier Marcet <javier@marcet.info>
Bugs:
- Fix for invalid handler warning on Windows builds
- Fix config hash to trigger container recreation on IPC mode updates
- Fix conversion map for placement.max_replicas_per_node
- Remove extra scan suggestion on build
Signed-off-by: Javier Marcet <javier@marcet.info>
Features:
- Add profile filter to docker-compose config
- Add a depends_on condition to wait for successful service completion
Miscellaneous:
- Add image scan message on build
- Update warning message for --no-ansi to mention --ansi never as alternative
- Bump docker-py to 5.0.0
- Bump PyYAML to 5.4.1
- Bump python-dotenv to 0.17.0
Signed-off-by: Javier Marcet <javier@marcet.info>
Bugs:
- Make --env-file relative to the current working directory and error out for
invalid paths. Environment file paths set with --env-file are relative to the
current working directory while the default .env file is located in the project
directory which by default is the base directory of the Compose file.
- Fix missing service property storage_opt by updating the compose schema
- Fix build extra_hosts list format
- Remove extra error message on exec
- Fix OpenSSL version mismatch error when shelling out to the ssh client
- Add missing build flags to the native builder: platform, isolation and
extra_hosts
- Remove info message on native build
- Avoid fetching logs when service logging driver is set to 'none'
Miscellaneous:
- Add compose.yml and compose.yaml to default filename list
Signed-off-by: Javier Marcet <javier@marcet.info>
Bugs:
- Fix SSH hostname parsing when it contains leading 's', 'h', and remove the quiet
option that was hiding the error (via docker-py bump to 4.4.2)
- Fix key error for --no-log-prefix option
- Fix incorrect CLI environment variable name for service profiles: COMPOSE_PROFILES
instead of COMPOSE_PROFILE
- Fix fish completion
Miscellaneous:
- Bump cryptography to 3.3.2
- Remove log driver filter
Signed-off-by: Javier Marcet <javier@marcet.info>
Bugs:
- Revert to Python 3.7 bump for Linux static builds
- Add bash completion for docker-compose logs|up --no-log-prefix
Miscellaneous:
- CI setup update
Signed-off-by: Javier Marcet <javier@marcet.info>
Features:
- Support for Nvidia GPUs via device requests
- Support for service profiles
- Change the SSH connection approach to the Docker CLI's via shellout to the local SSH client (old behaviour enabled by setting COMPOSE_PARAMIKO_SSH environment variable)
- Add flag to disable log prefix
- Add flag for ansi output control
Bugs:
- Make parallel_pull=True by default
- Bring back warning for configs in non-swarm mode
- Take --file in account when defining project_dir
- On compose up, attach only to services we read logs from
Signed-off-by: Javier Marcet <javier@marcet.info>
it makes no sense to show docker-compose sit in Languages -> Python
submenu in menuconfig, it is a tool and not a library.
Move it to Utilities section like docker-ce also is.
Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>