Skip to content

Just a docker wrapper for magicmark/composerize

Notifications You must be signed in to change notification settings

sharevb/composerize-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Composerize Docker

Just a docker wrapper for composerize/composerize.

Getting started

Simple

docker run -it maaxgr/composerize:latest composerize \
    docker run -d --name web1 --net mynetwork jmalloc/echo-server:latest

Simple with existing docker-compose.yml file

docker run -it maaxgr/composerize:latest composerize \
    docker run -d --name web1 --net mynetwork jmalloc/echo-server:latest \
	< docker-compose.yml

With function

Declare the following in .bashrc:

composerize() {
    docker run -it maaxgr/composerize:latest composerize "$@"
}

Run function:

composerize docker run -d --name web1 --net mynetwork jmalloc/echo-server:latest

Or run function with existing docker-compose.yml file:

composerize docker run -d --name web1 --net mynetwork jmalloc/echo-server:latest < docker-compose.yml

About

Just a docker wrapper for magicmark/composerize

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%