Home Explore Blog CI



docker

56th chunk of `content/manuals/compose/releases/release-notes.md`
f4557404d4b5370a13b6b71eb0baeac417c87b990621e0540000000100000c12
Thanks @dnephin, @d11wtq, @marksteve, @rubbish, @jbalonso, @timfreund, @alunduil, @mieciu, @shuron, @moss, @suzaku and @chmouel! Whew.

## 0.5.2

(2014-07-28)

 - Added a `--no-cache` option to `fig build`, which bypasses the cache just like `docker build --no-cache`.
 - Fixed the `dns:` fig.yml option, which was causing fig to error out.
 - Fixed a bug where fig couldn't start under Python 2.6.
 - Fixed a log-streaming bug that occasionally caused fig to exit.

Thanks @dnephin and @marksteve!

## 0.5.1

(2014-07-11)

 - If a service has a command defined, `fig run [service]` with no further arguments will run it.
 - The project name now defaults to the directory containing fig.yml, not the current working directory (if they're different)
 - `volumes_from` now works properly with containers as well as services
 - Fixed a race condition when recreating containers in `fig up`

Thanks @ryanbrainard and @d11wtq!

## 0.5.0

(2014-07-11)

 - Fig now starts links when you run `fig run` or `fig up`.

   For example, if you have a `web` service which depends on a `db` service, `fig run web ...` will start the `db` service.

 - Environment variables can now be resolved from the environment that Fig is running in. Just specify it as a blank variable in your `fig.yml` and, if set, it'll be resolved:

   ```yaml
   environment:
     RACK_ENV: development
     SESSION_SECRET:
   ```

 - `volumes_from` is now supported in `fig.yml`. All of the volumes from the specified services and containers will be mounted:

   ```yaml
   volumes_from:
    - service_name
    - container_name
   ```

 - A host address can now be specified in `ports`:

   ```yaml
   ports:
    - "0.0.0.0:8000:8000"
    - "127.0.0.1:8001:8001"
   ```

 - The `net` and `workdir` options are now supported in `fig.yml`.
 - The `hostname` option now works in the same way as the Docker CLI, splitting out into a `domainname` option.
 - TTY behavior is far more robust, and resizes are supported correctly.
 - Load YAML files safely.

Thanks to @d11wtq, @ryanbrainard, @rail44, @j0hnsmith, @binarin, @Elemecca, @mozz100 and @marksteve for their help with this release!

## 0.4.2

(2014-06-18)

 - Fix various encoding errors when using `fig run`, `fig up` and `fig build`.

## 0.4.1

(2014-05-08)

 - Add support for Docker 0.11.0. (Thanks @marksteve!)
 - Make project name configurable. (Thanks @jefmathiot!)
 - Return correct exit code from `fig run`.

## 0.4.0

(2014-04-29)

 - Support Docker 0.9 and 0.10
 - Display progress bars correctly when pulling images (no more ski slopes)
 - `fig up` now stops all services when any container exits
 - Added support for the `privileged` config option in fig.yml (thanks @kvz!)
 - Shortened and aligned log prefixes in `fig up` output
 - Only containers started with `fig run` link back to their own service
 - Handle UTF-8 correctly when streaming `fig build/run/up` output (thanks @mauvm and @shanejonas!)
 - Error message improvements

## 0.3.2

(2014-03-05)

 - Added an `--rm` option to `fig run`. (Thanks @marksteve!)
 - Added an `expose` option to `fig.yml`.

Title: Fig Versions 0.5.2 to 0.3.2: Enhanced Features, Bug Fixes, and Docker Support
Summary
This document summarizes the release notes for Fig versions 0.5.2, 0.5.1, 0.5.0, 0.4.2, 0.4.1, 0.4.0 and 0.3.2. These versions include new features such as `--no-cache` option, environment variable resolution, `volumes_from` support, host address specification in `ports`, `net` and `workdir` options, and TTY behavior improvements. Additionally, they address bug fixes related to encoding errors, Python 2.6 compatibility, log streaming, and race conditions. The releases also include support for various Docker versions and improvements to error messages and output formatting. Added an `--rm` option to `fig run` and `expose` option to `fig.yml`.