1.0.0
Install/upgrade instructions here.
The highlights:
-
Fig has joined Docker. Fig will continue to be maintained, but we'll also be incorporating the best bits of Fig into Docker itself.
This means the GitHub repository has moved to https://github.com/docker/fig and our IRC channel is now #docker-fig on Freenode.
-
Fig can be used with the official Docker OS X installer. Boot2Docker will mount the home directory from your host machine so volumes work as expected.
-
Fig supports Docker 1.3.
-
It is now possible to connect to the Docker daemon using TLS by using the
DOCKER_CERT_PATHandDOCKER_TLS_VERIFYenvironment variables. -
There is a new
fig portcommand which outputs the host port binding of a service, in a similar way todocker port. -
There is a new
fig pullcommand which pulls the latest images for a service. -
There is a new
fig restartcommand which restarts a service's containers. -
Fig creates multiple containers in service by appending a number to the service name (e.g.
db_1,db_2, etc). As a convenience, Fig will now give the first container an alias of the service name (e.g.db).This link alias is also a valid hostname and added to
/etc/hostsso you can connect to linked services using their hostname. For example, instead of resolving the environment variablesDB_PORT_5432_TCP_ADDRandDB_PORT_5432_TCP_PORT, you could just use the hostnamedband port5432directly. -
Volume definitions now support
romode, expanding~and expanding environment variables. -
.dockerignoreis supported when building. -
The project name can be set with the
FIG_PROJECT_NAMEenvironment variable. -
The
--envand--entrypointoptions have been added tofig run. -
The Fig binary for Linux is now linked against an older version of glibc so it works on CentOS 6 and Debian Wheezy.
Other things:
fig psnow works on Jenkins and makes fewer API calls to the Docker daemon.--verbosedisplays more useful debugging output.- When starting a service where
volumes_frompoints to a service without any containers running, that service will now be started. - Lots of docs improvements. Notably, environment variables are documented and official repositories are used throughout.
Thanks @dnephin, @d11wtq, @marksteve, @rubbish, @jbalonso, @timfreund, @alunduil, @mieciu, @shuron, @moss, @suzaku and @chmouel! Whew.