Skip to main content

Fig has launched its first and last major version, as the functionality of the development environment tool will be integrated directly into Docker.

While the release of Fig 1.0 comes with a host of improvements, the standout is that Fig now will work out of the box with boot2docker on OS X, with host volumes now working in a more expected way. With that, Mac users will be able to run the standard Docker installer, download Fig and get to work without having to resort using unofficial solutions.

With the launch, Fig has a host of new commands, including the `fig port` command, which outputs the host port binding of a service, similar to `docker port`; `fig pull`, which pulls the latest images for a server; and `fig restart`, which restarts a service’s containers.
Fig also simplifies hostnames, creating multiple containers in a service by appending a number to the service name.
The first container will have an alias of the service name that also will serve as a valid hostname, added to `/etc/hosts` so users can connect to link services via the hostname.
In Fig 1.0, volume definitions now support `ro` mode, expanding ~ and environment variables.

Other improvements with Fig 1.0 include that `.dockerignore` is now supported when building, project names can be set with the `FIG_PROJECT_NAME` environment variable, the `–env` and `–entrypoint` options have been added to `fig run`, `–verbose` displays more useful debugging output, and the Fig binary for Linux now is linked against an older version of glibc so it works on CentOS 6 and Debian Wheezy.
Fig 1.0 also includes a lot of docs improvements, most notably that environment variables are documented and official repositories are used throughout.

There are even more improvements that come with the new Fig 1.0.
If you haven’t tried Fig yet, now is the time to take a bite.

Daniel Sachse

Author Daniel Sachse

More posts by Daniel Sachse