Create a Docker image from a server accessible over SSH.
Alpha release. You have been warned
- docker (and boot2docker if you are not on Linux)
- pv
Jenova doesn't currently support Windows. PR are welcome
sudo curl -sL https://raw.githubusercontent.com/kargo/jenova/master/jenova -o /usr/bin/jenova
jenova [ip-or-domain-name] [name-of-image-to-create] [additonal-files-or-folders-to-sync]
- Find the package manager on the remote host
- Use it to find all files that were installed through it
- Sync those files, as well as '/etc', '/opt' and '/root'
- If you specify additional files, sync those as well
Most likely the generated image will be very large (>1Gb at least). Jenova helps you synchronizing systems, but it doesn't help you be smart. You should use Jenova-generated images only for local development and testing purposes.
To start a container from your image:
docker run -it [image-name] bash
Jenova doesn't provide replacements for /sbin/init
. When you start a machine,
it will not start services automatically. We recommend to use
Kargo to run the generated image and
to install additional things on that image.
MIT.