https://github.com/chassis/docker_run
A simple wrapper extension allowing for running arbitrary containers as services
https://github.com/chassis/docker_run
Last synced: 5 days ago
JSON representation
A simple wrapper extension allowing for running arbitrary containers as services
- Host: GitHub
- URL: https://github.com/chassis/docker_run
- Owner: Chassis
- Created: 2020-05-27T13:56:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-28T09:10:39.000Z (about 6 years ago)
- Last Synced: 2025-03-11T00:05:43.085Z (over 1 year ago)
- Language: Puppet
- Size: 1000 Bytes
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Docker Run
==========
This a basic extension that provides the ability to run arbitrary docker containers on your VM.
The intended use-case is to plug the gap in missing chassis extensions, features of those extensions or requirements for very specific versions of services.
## Usage
The extension accepts a config that is passed to the puppet docker module's `docker::run` resource class.
For example the following Chassis config:
```yaml
docker_run:
elastic:
image: 'elasticsearch:1.5.2'
ports: '9200:9200'
volumes: 'elastic-data:/var/lib/elasticsearch/data'
```
Will be passed to `docker::run` as follows:
```
docker::run { 'elastic':
image => 'elasticsearch:1.5.2',
ports => '9200:9200',
volumes => 'elastic-data:/var/lib/elasticsearch/data'
}
```
For the full list of options available to `docker::run` see the documentation here:
https://forge.puppet.com/puppetlabs/docker/readme#containers