![Rabi Mishra](/assets/img/avatar_default.png)
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
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