An open API service indexing awesome lists of open source software.

https://github.com/hyperized/ansible-docker-container

An Ansible Docker container role
https://github.com/hyperized/ansible-docker-container

Last synced: 3 months ago
JSON representation

An Ansible Docker container role

Awesome Lists containing this project

README

          

# ansible-docker-container
An Ansible Docker container role for Ubuntu 14.04 with Upstart scripts.

## Prerequisites

This role assumes you run a docker daemon on Ubuntu 14.04.

Ansible 2.1 is also required.

## Usage

Include the folder in your roles directory. You can edit the configuration in, for example, your group_vars, like this:

```
docker_containers:
- name: redis
- name: mystuff
image: myrepository/mydocker:myversion
published_ports: 80:80
env:
HELLO: WORLD
```

## Author

Gerben Geijteman

## License

MIT