docker-composerize/README.md

25 lines
572 B
Markdown
Raw Normal View History

2017-03-09 00:33:55 +00:00
# Composerize Docker image
## What is Composerize?
[Composerize](https://github.com/magicmark/composerize) is a utility that converts any given `docker run` command to its equivalent Docker Compose v2 configuration.
## Usage
To run a container and expose the website at port 8080, run this command:
```sh
docker run -p "8080:8080" --rm icedream/composerize
```
Or use this Docker Compose YAML configuration (`docker-compose.yml`) file:
```yaml
version: '2'
services:
composerize:
image: icedream/composerize
ports:
- '8080:8080'
```