Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tubesandlube/blimp
Mechanism to easily move a container from one Docker host to another
https://github.com/tubesandlube/blimp
Last synced: about 2 months ago
JSON representation
Mechanism to easily move a container from one Docker host to another
- Host: GitHub
- URL: https://github.com/tubesandlube/blimp
- Owner: tubesandlube
- Created: 2014-10-30T19:19:21.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-29T14:54:49.000Z (over 9 years ago)
- Last Synced: 2024-07-31T21:55:16.931Z (5 months ago)
- Language: Perl
- Homepage: http://tubesandlube.github.io/blimp
- Size: 692 KB
- Stars: 23
- Watchers: 3
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-docker - blimp - Uses Docker Machine to easily move a container from one Docker host to another, show containers running against all of your hosts, replicate a container across multiple hosts and more by [@defermat](https://github.com/defermat) and [@schvin](https://github.com/schvin) (Container Operations / Orchestration)
- awesome-docker - blimp - Uses Docker Machine to easily move a container from one Docker host to another, show containers running against all of your hosts, replicate a container across multiple hosts and more by [@defermat](https://github.com/defermat) and [@schvin](https://github.com/schvin) (Container Operations / Orchestration)
README
This hack was written in 2014 as a participating entry in the Docker global hack day. Popular voting came to a close and many interesting projects came out of it. This particular project would require some cleanup and less hack-like code to really be useful, but it was an interesting experiment and certainly scratched an itch. https://www.docker.com/community/globalhackday#24
blimp
=====Mechanism to easily move a container from one Docker host to another, show containers running against all of your hosts, replicate a container across multiple hosts and more.
Presently relies on Docker `machine` at https://github.com/docker/machine
See it in action: https://www.youtube.com/watch?v=L66f5kkN7W8
environment
=======The environment variable `DOCKER_BINARY` can be set to a specific path for an alternate or path-specific docker binary. Often needed if you have built the branch for `docker machines` capability on a shared system.
install
=======dependencies: curl, perl
install Docker machine, you can build it from https://github.com/docker/machine, or you can run it from a Docker container: defermat/machine)
add some hosts using `docker-machine`
`git clone https://github.com/tubesandlube/blimp.git`
`cd blimp/bin`
`./blimp`
Note: for logging, setup syslog, and blimp will automatically send messages there.
usage
=====see [``commands.md``](https://github.com/tubesandlube/blimp/blob/master/commands.md)
faq
===What do I do if I see this error?
```
Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: ../lib ../lib /etc/perl
/usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18
/usr/share/perl/5.18 /usr/local/lib/site_perl .) at ./blimp line 55.
BEGIN failed--compilation aborted at ./blimp line 55.
```Install the JSON library via the CPAN shell:
```
sudo cpan install JSON
```or
```
PERL_MM_USE_DEFAULT=1 sudo perl -MCPAN -e 'install JSON'
```