blablacar / dgr

Container build and runtime tool
Apache License 2.0
248 stars 21 forks source link

Can i use images from docker hub in aci manifest file #249

Open gokulreddy07 opened 7 years ago

gokulreddy07 commented 7 years ago

I want to build aci images on top of docker hub images, If it's possible, how to make use of existing docker hub images.

n0rad commented 7 years ago

I just did some tests and the appc spec does not support docker images as dependencies. rkt support downloading and converting docker images to aci on the fly and so in an hacky way I was able to build an image with a docker image as a dependency by :

But rkt needs the docker:// prefix and the aci manifest does not support it. So you can fetch and run docker images in rkt and use the local conversion to include it as a dependencies but:

If you run some tools to convert and distribute a docker image before using it as a dependency you can still end up using "docker based" images. Also using images from quay.io, you will have both format directly and so can use them directly.