Class: Penkit::DockerCompose
- Inherits:
-
Object
- Object
- Penkit::DockerCompose
- Includes:
- Helpers
- Defined in:
- lib/penkit/docker_compose.rb
Instance Method Summary collapse
Instance Method Details
#up(image, options = {}) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/penkit/docker_compose.rb', line 7 def up(image, = {}) docker.create_network! env = compose_env(image, ) # TODO: find out why exec bombs here (see Penkit::Docker#find_all_containers) system(env, "docker-compose", *(image, ), "up", "-d") end |