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>