Script to import and export docker-machine configurations to sync between hosts/collaborators. Based on Schickling gist.
This version copies the
$ docker-machine ls| var gistPrefix = 'http://gist.github.com/', | |
| // Cache document.write so that it can be restored once all Gists have been | |
| // embedded. | |
| cachedWrite = document.write, | |
| body = $('body'), | |
| // Map each p.gist to an object that contains the paragraph to be replaced | |
| // and the Gist's identifier. | |
| gists = $('p.gist').map(function(n, p) { | |
| p = $(p); |
Script to import and export docker-machine configurations to sync between hosts/collaborators. Based on Schickling gist.
This version copies the
$ docker-machine ls