https://github.com/l-with/ansible-role-docker-container
https://github.com/l-with/ansible-role-docker-container
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/l-with/ansible-role-docker-container
- Owner: l-with
- License: mit
- Created: 2023-05-06T15:23:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T11:05:22.000Z (9 months ago)
- Last Synced: 2025-02-08T17:13:06.853Z (5 months ago)
- Language: Jinja
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role Docker Container
Install a docker container
## Role Variables
| group | variable | default | description |
| --- | --- | --- | --- |
| basic | `docker_container_name` | | the value for `--name` |
| basic | `docker_container_image` | | the `IMAGE` for `docker run` |
| basis | `docker_container_ports` | | the value for `--publish` |
| basic | `docker_container_command` | | the `COMMAND` for `docker run`|
| basic | `docker_container_restart_policy` | | the value for `--restart` |
| basic | `docker_container_env` | `[]` | the values for `--env` |