Ask Your Question

when launching an instance , is it possible to add a script that contain docker installation ?

asked 2017-04-18 05:56:41 -0500

zoubayer gravatar image

updated 2017-04-18 06:04:53 -0500

hi everyone, i installed openstack newton multi-nodes (4 nodes ) and i am asking if it is possible to add a script containing instruction to install docker and running some containers after installing docker from launch instance interface ( configuration tab ) . thank you

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-04-18 10:07:51 -0500

Hi Zoubayer,

When launching instances, you can add user-data, I would add cloud-init script to launch after instance is created.

Create a file with cloud-init configuration and add --user-data while creating the instance.

Please, check this blog post which explains more in deep this process.

With Horizon you can add the script at Configuration tab.

Customization Script Source

Specify a customization script that runs after your instance launches.


edit flag offensive delete link more


Hi Eduardo, Thank you for your interest , infact i 've seen it and i thought it was only for infrastructure ressources . now that i know it support packages too i will test it and hopefully it works . thanks again

zoubayer gravatar imagezoubayer ( 2017-04-18 11:27:46 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-04-18 05:56:41 -0500

Seen: 146 times

Last updated: Apr 18 '17