docker-archive / communitytools-image2docker-linux

116 stars 42 forks source link

Doesn't work on Windows #14

Open friism opened 7 years ago

friism commented 7 years ago

This is with a vmdk that works on Mac

λ  .\..\v2c-windows64.exe build -t test C:\Users\friism\Downloads\for-export-flat.vmdk
Running image transformation.
Using existing unpacked image.
Creating container for v2c/centos-detective:v6.8
Creating container for v2c/app.apt-repl.detective:1
Creating container for v2c/init.tomcat-detective:1
Creating container for v2c/app.tomcat8.5.5-detective:1
Creating container for v2c/init.apache2-sysv.detective:2
Creating container for v2c/runit-detective:ubuntu-v16.10
Creating container for v2c/runit-detective:ubuntu-v16.04.1
Creating container for v2c/conf.mysql5-data.detective:1
Creating container for v2c/runit-detective:ubuntu-v14.04.5
Creating container for v2c/ubuntu-detective:v16.10
Creating container for v2c/ubuntu-detective:v14.04.5
Creating container for v2c/conf.apache2-etc.detective:1
Creating container for v2c/ubuntu-detective:v16.04.1
Creating container for v2c/conf.apache2-var-www.detective:1
Creating container for v2c/ubuntu-detective:v16.04
Creating container for v2c/runit-detective:ubuntu-v16.04
No results for v2c/runit-detective:ubuntu-v14.04.5 code: 2
No results for v2c/conf.apache2-etc.detective:1 code: 1
No results for v2c/centos-detective:v6.8 code: 2
No results for v2c/ubuntu-detective:v16.04 code: 2
No results for v2c/ubuntu-detective:v14.04.5 code: 2
No results for v2c/runit-detective:ubuntu-v16.04 code: 2
No results for v2c/init.apache2-sysv.detective:2 code: 1
No results for v2c/runit-detective:ubuntu-v16.10 code: 2
No results for v2c/ubuntu-detective:v16.10 code: 2
No results for v2c/ubuntu-detective:v16.04.1 code: 2
No results for v2c/conf.mysql5-data.detective:1 code: 1
No results for v2c/runit-detective:ubuntu-v16.04.1 code: 2
No results for v2c/app.tomcat8.5.5-detective:1 code: 2
No results for v2c/init.tomcat-detective:1 code: 1
No results for v2c/conf.apache2-var-www.detective:1 code: 1
Creating container for v2c/app.apt-repl.provisioner:1
No operating system detected or provisioned.
allingeek commented 6 years ago

The error messaging needs work. In this case I cannot determine if the "existing volume" was successfully unpacked previously or if it is empty.

Just to make sure there is nothing fishy going on I will need to look at the bind mount code to make sure its OS non-specific and verify guestfish operation from a container on Windows.

pdevine commented 6 years ago

Given we've got the other i2d tool for windows, I don't think this is a huge problem right now.

pdevine commented 6 years ago

This also looks suspiciously like issue #11 though. Let's fix that first and then close this one if it's no longer relevant.