docker-archive / communitytools-image2docker-win

305 stars 78 forks source link

Docker image for the tool #4

Open sixeyed opened 8 years ago

sixeyed commented 8 years ago

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

dcolebatch commented 8 years ago

That'd be nice. +1

happysysadm commented 8 years ago

How about this one:

docker run happysysadm/image2docker sample.vhdx

Let me know how it goes.

sixeyed commented 8 years ago

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

happysysadm commented 8 years ago

@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.

StefanScherer commented 8 years ago

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.

sixeyed commented 7 years ago

@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.