communitytools-image2docker-win icon indicating copy to clipboard operation
communitytools-image2docker-win copied to clipboard

Docker image for the tool

Open sixeyed opened this issue 9 years ago • 6 comments

With PowerShell dependencies & the tool module installed, so you can do docker run docker/image2docker my.vhd on any Windows box.

sixeyed avatar Sep 14 '16 07:09 sixeyed

That'd be nice. +1

dcolebatch avatar Nov 03 '16 10:11 dcolebatch

How about this one:

docker run happysysadm/image2docker sample.vhdx

Let me know how it goes.

happysysadm avatar Nov 16 '16 15:11 happysysadm

Good work @happysysadm! Do you have your Dockerfile in a repo we can see?

sixeyed avatar Nov 16 '16 20:11 sixeyed

@sixeyed here it comes: https://gist.github.com/happysysadm/d998a0d1904d52b508a71982e81c2a14

Actually it is a pretty simple dockerfile. I also wrote a post describing the build process but this can for sure be improved: http://www.happysysadm.com/2016/11/building-docker-container-for.html

I'll blog more on the subject while I build my own knowledge.

happysysadm avatar Nov 18 '16 13:11 happysysadm

I'm missing a -v option, right? Would be very great to make it so easy, but I guest the container needs a volume mount.

StefanScherer avatar Nov 18 '16 14:11 StefanScherer

@StefanScherer is right on the volume mount, but @happysysadm thanks for contributing. If you add your Dockerfile in a PR I will merge and we can iterate on it.

sixeyed avatar Dec 07 '16 01:12 sixeyed