Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

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

Open
gokulreddy07 opened this issue Aug 7, 2017 · 1 comment
Open

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

gokulreddy07 opened this issue Aug 7, 2017 · 1 comment

Comments

@gokulreddy07
Copy link

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
Copy link
Member

n0rad commented Aug 7, 2017

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 :

  • fetching the aci on rkt (and so converting it to aci)
  • running dgr with the aci version as dependency

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:

  • You cannot have directly a docker image as a dependency.
  • You will not be able to distribute the result since it will require a dependency that is not fetchable.

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants