Composerize Docker image
What is Composerize?
Composerize is a utility that converts any given
docker run command to its equivalent Docker Compose v2 configuration.
To run a container and expose the website at port 8080, run this command:
docker run -p "8080:8080" --rm icedream/composerize
Or use this Docker Compose YAML configuration (
version: '2' services: composerize: image: icedream/composerize ports: - '8080:8080'