escape from your vms with image2docker jeff nickoloff, all in geek consulting services and elton...
TRANSCRIPT
Jeff NickoloffIndependent Software Engineer,Docker Captain
Elton StonemanDeveloper Advocate, Docker, Inc.
Escape From Your VMs with Image2Docker
Should we solve it like this?
Lift-and-shift has its own problems• Wouldn’t learning Docker be easier?• Container best practices?• What are the use-cases?
Lift-and-shift is hardTooling• Security – are there secrets in the VM?• Content – do we need to lift *everything*?• Config explosion – how many init systems?• Validation – can we automate the testing?
Discovery.Extraction.
Provisioning.Generation.
Image2Docker
Ubuntu
Apache
My SQL
PHP
Windows
IIS
.NET
ASP.NET
Part 1: Migration1. Check out the app2. I2D for Windows3. I2D for Linux
AgendaPart 2: Deployment1. Create hybrid swarm2. Deploy services3. Relax
make preparemake buildmake builtin-prep
sudo bin/v2c-darwin64 build -n img.vmdk
Image2Docker - Linux
Install-Module Image2DockerImport-Module Image2Docker
ConvertTo-Dockerfile `-ImagePath c:\iis.vhd `-OutputPath c:\i2d2\iis `-Artifact IIS
Image2Docker - Windows
Lift & shift• I2D for Linux• I2D for Windows• Starter for 10
SummaryHybrid swarm• Host diversity• App diversity• Single interface