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
- Host: GitHub
- URL: https://github.com/hyperized/ansible-docker-container
- Owner: hyperized
- License: mit
- Created: 2016-06-23T11:05:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-01T12:13:08.000Z (over 9 years ago)
- Last Synced: 2025-01-06T00:29:48.569Z (about 1 year ago)
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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