Last active
January 8, 2017 16:53
-
-
Save jubel-han/3e68d8861997aeea6646df4ec3f3dd38 to your computer and use it in GitHub Desktop.
This is a alternative solution with start the docker socks on MacOS for Jetbrains docker integrate "Docker for Mac".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.provider "docker" do |d| | |
d.vagrant_machine = 'docker-socks' | |
d.force_host_vm = false | |
d.has_ssh = false | |
d.image = "bobrik/socat" | |
d.name = 'docker-socks' | |
d.ports = ['127.0.0.1:2376:2375'] | |
d.volumes = ['/var/run/docker.sock:/var/run/docker.sock'] | |
d.cmd = ['TCP4-LISTEN:2375,fork,reuseaddr', 'UNIX-CONNECT:/var/run/docker.sock'] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment