communitytools-image2docker-linux
communitytools-image2docker-linux copied to clipboard
Demo VM not containerizing completely - No operating system detected or provisioned
I ran the transformation on the vm provided by the project and got the following results:
ubuntu@worker-node1:~/transformation$ sudo ../communitytools-image2docker-linux/bin/v2c-linux64 build /vagrant/for-export-flat.vmdk
Running image transformation.
Using existing unpacked image.
Creating container for v2c/centos-detective:v6.8
Creating container for v2c/init.tomcat-detective:1
Creating container for v2c/app.tomcat8.5.5-detective:1
Creating container for v2c/runit-detective:ubuntu-v16.10
Creating container for v2c/init.apache2-sysv.detective:2
Creating container for v2c/ubuntu-detective:v16.04.1
Creating container for v2c/ubuntu-detective:v16.04
Creating container for v2c/runit-detective:ubuntu-v16.04
Creating container for v2c/runit-detective:ubuntu-v16.04.1
Creating container for v2c/ubuntu-detective:v14.04.5
Creating container for v2c/ubuntu-detective:v16.10
Creating container for v2c/conf.mysql5-data.detective:1
Creating container for v2c/runit-detective:ubuntu-v14.04.5
Creating container for v2c/conf.apache2-etc.detective:1
Creating container for v2c/conf.apache2-var-www.detective:1
Creating container for v2c/app.apt-repl.detective:1
No results for v2c/init.tomcat-detective:1 code: 1
No results for v2c/app.tomcat8.5.5-detective:1 code: 2
No results for v2c/ubuntu-detective:v16.10 code: 2
No results for v2c/runit-detective:ubuntu-v16.10 code: 2
No results for v2c/ubuntu-detective:v16.04 code: 2
No results for v2c/centos-detective:v6.8 code: 2
No results for v2c/runit-detective:ubuntu-v16.04 code: 2
No results for v2c/conf.mysql5-data.detective:1 code: 1
No results for v2c/ubuntu-detective:v16.04.1 code: 2
No results for v2c/runit-detective:ubuntu-v16.04.1 code: 2
No results for v2c/runit-detective:ubuntu-v14.04.5 code: 2
No results for v2c/init.apache2-sysv.detective:2 code: 1
No results for v2c/conf.apache2-var-www.detective:1 code: 1
No results for v2c/conf.apache2-etc.detective:1 code: 1
No results for v2c/ubuntu-detective:v14.04.5 code: 2
Creating container for v2c/app.apt-repl.provisioner:1
No operating system detected or provisioned
This is what I get out as ouput:
ubuntu@worker-node1:~/transformation/application$ ls
7fbdc5da45a7f545bd13fb9677009be9551bf2a0eb7d92e33bd2f771c3dbd955.manifest 7fbdc5da45a7f545bd13fb9677009be9551bf2a0eb7d92e33bd2f771c3dbd955.tar
Opening up the Dockerfile in the tar file shows this in the Dockerfile:
ubuntu@worker-node1:~/transformation/application$ more Dockerfile
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -y
\
I'm also getting the same result. Anyone got this issue resolved?
Can you tell me where you got the input VMDK?
I got the input VMDK from what was pointed in the README.md of this project:
https://s3-us-west-2.amazonaws.com/allingeek-public-transport/for-export-flat.vmdk
I'm able to reproduce this as well. I'm not sure if this is related but I'm now unable to unmount the v2c-transport
volume. I now get the message, no matter what .vmdk I point to.
output $ i2d build ~/test.vmdk
Running image transformation.
Using existing unpacked image.
Creating container for v2c/centos-detective:v6.8
Creating container for vc2/app.glassfish4-detective:1
Creating container for v2c/conf.mysql5-data.detective:1
Creating container for v2c/runit-detective:ubuntu-v16.10
Creating container for v2c/init.tomcat-detective:1
Creating container for v2c/runit-detective:ubuntu-v16.04.1
Creating container for v2c/app.tomcat8.5.5-detective:1
Creating container for v2c/runit-detective:ubuntu-v16.04
Creating container for v2c/runit-detective:ubuntu-v14.04.5
Creating container for v2c/init.apache2-sysv.detective:2
Creating container for vc2/app.glassfish3-detective:1
Creating container for v2c/ubuntu-detective:v14.04.5
Creating container for v2c/conf.apache2-var-www.detective:1
Creating container for v2c/app.apt-repl.detective:1
Creating container for v2c/conf.apache2-etc.detective:1
Creating container for v2c/ubuntu-detective:v16.04.1
Creating container for v2c/ubuntu-detective:v16.10
Creating container for v2c/ubuntu-detective:v16.04
No results for v2c/ubuntu-detective:v16.04 code: 2
No results for v2c/init.apache2-sysv.detective:2 code: 1
No results for v2c/centos-detective:v6.8 code: 2
No results for v2c/ubuntu-detective:v16.10 code: 2
No results for v2c/ubuntu-detective:v14.04.5 code: 2
No results for vc2/app.glassfish3-detective:1 code: 1
No results for v2c/init.tomcat-detective:1 code: 1
No results for vc2/app.glassfish4-detective:1 code: 1
No results for v2c/app.tomcat8.5.5-detective:1 code: 2
No results for v2c/conf.mysql5-data.detective:1 code: 1
No results for v2c/conf.apache2-etc.detective:1 code: 1
No results for v2c/conf.apache2-var-www.detective:1 code: 1
No results for v2c/runit-detective:ubuntu-v16.10 code: 2
No results for v2c/runit-detective:ubuntu-v16.04 code: 2
No results for v2c/runit-detective:ubuntu-v14.04.5 code: 2
No results for v2c/ubuntu-detective:v16.04.1 code: 2
No results for v2c/runit-detective:ubuntu-v16.04.1 code: 2
Result found for:
v2c/app.apt-repl.detective:1
Creating container for v2c/app.apt-repl.provisioner:1
Unable to remove the transport volume due to: Error response from daemon: unable to remove volume: remove v2c-transport: volume is in use - [e5a24dd4f41b0c3a1a08509aa26ba70f691110d258d4a5470c5dd8ec1c81724c]
No operating system detected or provisioned.
@BrandonRoyal 's problem turned out to be a the vmdk mounting container / volumes were still around when he tried running the i2d again after a previous failure. We're really bad about cleaning up after ourselves. Brandon also ran into an issue where he was trying to lift/shift an Ubuntu 16.04.2 OS but he just sent out PR #21 for that.
@yongshin I'm not sure where things are breaking for you, but we should have better logging in these cases. I did run into a similar issue when I was testing everything out, but I did (somehow) manage to get everything to work.
Hi Team,
I was trying to convert .vmdk given by "https://s3-us-west-2.amazonaws.com/allingeek-public-transport/for-export-flat.vmdk" using image2docker for linux. I have made few observations
- After obtaining docker file , I created docker image and able to start container. But Apache2 and mysql service were not running. it was in stopped state. Also surprisingly I was able to access php webpage even though services were showing stop status. .
- I created my own LAMP stack and APache machine (.vmdk). I tried to convert to docker file using command "bin/v2c-linux64 build -n PATH-TO_for-export-flat.vmdk" ( we have given path of .vmdk) , But I ended up with below error .
Result found for: v2c/app.apt-repl.detective:1 Creating container for v2c/app.apt-repl.provisioner:1 The transport volume remains intact. No operating system detected or provisioned.
Please let me know if I missed anything before conversion or still its in development phase to try with users own machine. Thanks for your support.
Regards, Malleshi CN
Hi Guys, I'm now unable to unmount the v2c-transport volume and getting below error , Please provide solution The transport volume remains intact. No operating system detected or provisioned.
Please let us know what need to change or add.
Hi Guys, I am getting the below error while trying to create a dockerfile.
Running image transformation. Unpacked input will not be cleaned up upon completion. Using existing unpacked image. The transport volume remains intact. No components were detected.