Fig

Latest version: v1.0.1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

3.2

- Introduced version 3.2 of the `docker-compose.yml` specification.

- Added support for `cache_from` in the `build` section of services

- Added support for the new expanded ports syntax in service definitions

- Added support for the new expanded volumes syntax in service definitions

3.1

- Introduced version 3.1 of the `docker-compose.yml` specification. This
version requires Docker Engine 1.13.0 or above. It introduces support
for secrets. See the documentation for more information

Compose file version 2.0 and up
- Introduced the `docker-compose top` command that displays processes running
for the different services managed by Compose.

Bugfixes
- Fixed a bug where extending a service defining a healthcheck dictionary
would cause `docker-compose` to error out.
- Fixed an issue where the `pid` entry in a service definition was being
ignored when using multiple Compose files.

Thanks to dnephin, mattjbray, xulike666, urda, tntC4stl3, pts-kevinqiu, muicoder, graingert, ankon for contributing to this release!

3.0

- Introduced version 3.0 of the `docker-compose.yml` specification. This
version requires to be used with Docker Engine 1.13 or above and is
specifically designed to work with the `docker stack` commands.
- Added support for the `stop_grace_period` option in service definitions.

Compose file version 2.1 and up
- Healthcheck configuration can now be done in the service definition using
the `healthcheck` parameter
- Containers dependencies can now be set up to wait on positive healthchecks
when declared using `depends_on`. See the documentation for the updated
syntax.
**Note:** This feature will not be ported to version 3 Compose files.
- Added support for the `sysctls` parameter in service definitions
- Added support for the `userns_mode` parameter in service definitions
- Compose now adds identifying labels to networks and volumes it creates

Bugfixes
- Colored output now works properly on Windows.
- Fixed a bug where docker-compose run would fail to set up link aliases
in interactive mode on Windows.
- Networks created by Compose are now always made attachable
(Compose files v2.1 and up).

Thanks to aanand, dnephin, mikedougherty, strayobject, NiR-, lawliet89, jtakkala, ijc25, graingert for contributing to this release!

2.2

- Introduced version 2.2 of the `docker-compose.yml` specification. This
version requires to be used with Docker Engine 1.13.0 or above

- Added support for `init` in service definitions.

- Added support for `scale` in service definitions. The configuration's value
can be overridden using the `--scale` flag in `docker-compose up`.
Please note that the `scale` command is disabled for this file format

Compose file version 2.x

- Added support for `options` in the `ipam` section of network definitions

Bugfixes

- Fixed a bug where paths provided to compose via the `-f` option were not
being resolved properly

- Fixed a bug where the `ext_ip::target_port` notation in the ports section
was incorrectly marked as invalid

- Fixed an issue where the `exec` command would sometimes not return control
to the terminal when using the `-d` flag

- Fixed a bug where secrets were missing from the output of the `config`
command for v3.2 files

- Fixed an issue where `docker-compose` would hang if no internet connection
was available

- Fixed an issue where paths containing unicode characters passed via the `-f`
flag were causing Compose to crash

Thanks to sdurrheimer, albers, kinghuang and fate-grand-order for contributing to this release!

2.1

2.0

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.