Rabi Mishra 37efe6f243 Use deployment name rather than id for compose project
Latest docker-compose only recreates containers whose
configurationhas changed since they were created[1].
This patch  uses sd 'name' rather than 'id' for the
project name that helps in recreating containers with
the same name after an update. Also changes
docker-compose version to 1.4.0.

[1] https://github.com/docker/compose/releases/tag/1.4.0

Change-Id: Ia9b8621c8785b55551a0660fed0148b15ab4f20c
2015-08-18 13:05:31 +05:30
..
2015-04-13 07:35:09 +05:30

Steps to build container image with all container hooks

Docker build does not work with soft links. Therefore, convert all soft links to hardlinks.

$ find -type l -exec bash -c 'ln -f "$(readlink -m "$0")" "$0"' {} ;

Build docker image with container hooks.

$docker build -t xxxx/heat-container-agent ./

Push the image to docker hub.

$docker push xxxx/heat-container-agent