title: Cloud-init to configure an Ubuntu docker container?
body: <p>Is it possible to use a <strong>cloud-init configuration file</strong> to define commands to be executed when a docker container is started?</p>
  
  <p>I'd like to test the provisioning of an Ubuntu virtual machine using a docker container.
  My idea is to provide the same cloud-init config file to an Ubuntu docker container.</p>