Skip to content

WAGO/docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage

The working directory inside the container defaults to /compose

To execute the up command directly from the host system cd into the directory containing the docker-compose.yml and enter:

docker run --rm -t \
--privileged \
-v $(pwd):/compose \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /usr/bin/docker:/usr/bin/docker \
wagoautomation/docker-compose -f docker-compose.yml up

For convinience you could create a permanent alias by adding following line in ~.profile in your host system:

alias docker-compose='docker run --rm -t \
--privileged \
 -v $(pwd):/compose \
 -v /var/run/docker.sock:/var/run/docker.sock \
 -v /usr/bin/docker:/usr/bin/docker \
 wagoautomation/docker-compose'

and just call

docker-compose -f docker-compose.yml up

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published