Add basic docker network action

This commit is contained in:
Brian Cain 2019-02-25 15:27:04 -08:00
parent ec2e0380ee
commit 627251a307
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
module VagrantPlugins
module DockerProvider
module Action
class Network
def initialize(app, env)
@app = app
end
def call(env)
# If we aren't using a host VM, then don't worry about it
return @app.call(env) if !env[:machine].provider.host_vm?
@app.call(env)
end
end
end
end
end