Page MenuHomeDevCentral

Pull automatically Nasqueron images on Dwellers when updated in Docker Hub
Open, NormalPublic

Description

Some images are used on Dwellers to run utilities, for example nasqueron/arcanist.

Other are frequently used to test or build applications, like nasqueron/nginx-php-fpm and nasqueron/php-cli.

We could pull everything or we could pull a list of whitelisted containers.

Plan is to subscribe to the broker, get Docker notifications and run docker pull.

Implementation notes

To consume the broker, see the receive part at https://www.rabbitmq.com/tutorials/tutorial-five-python.html

To select only Docker notification, binding key is nasqueron.docker.dockerhub.push.

When a notification is received, this is as a JSON message. The repository name is accessible at:
<notification message>->rawContent->repository->repo_name

Event Timeline

dereckson renamed this task from Pull automatically Nasqueron images on Dwellers to Pull automatically Nasqueron images on Dwellers when updated in Docker Hub.Jul 22 2016, 02:57

[ Those tasks have been identified as suitable for the next operations sprint. ]