Name: hello-world
Owner: Ansible
Description: Hello World example for Ansible Container
Forked from: j00bar/hello-fest
Created: 2017-09-18 13:53:39.0
Updated: 2017-12-19 13:28:51.0
Pushed: 2017-09-25 21:03:55.0
Size: 30
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A simple example project for Ansible Container.
The following script will download this project from Galaxy, build the container, and run it locally, exposing the flask server on host port 4000:
in/bash
eate a new directory, and set it as your working dir
r hello-world
ello-world
wnload the project
ble-container init ansible.hello-world
ild the container
ble-container build
n hello world
ble-container run
en a browser and load http://localhost:4000
http://localhost:4000
TODO
When you're ready to remove the hello-world containers and images from your local Docker daemon, run the following from within the hello-world directory:
ble-container destroy
Taken from j00bar's AnsibleFest San Francisco 2017 presentation. Thanks @j00bar!