Re: Pushing Docker images to MicroPCF
Will Pragnell <wpragnell@...>
Hi Nanduni,
toggle quoted messageShow quoted text
Currently there's no way to push a Dockerfile that I'm aware of. Your best bet (assuming you can't push your image to Docker Hub) is to run a Docker registry locally. This can be done fairly easily using the Registry image [1]. You may even be able to run the registry on MicroPCF temporarily (remember containers on CF are ephemeral and can't persist state to disk), which would be kinda neat! There's one other thing, though. By default, CF can't pull docker images from registries that are using self signed certificates. Garden-Linux (the container running part of CF) has a list of registries that are allowed to break this rule (configured using the `insecure_docker_registry_list` property [2]) so you'll need to add the address of your registry to that. I'm afraid I don't know how to set this for MicroPCF though. Hopefully someone more familiar with MicroPCF can advise on that. Good luck! Will [1]: https://hub.docker.com/_/registry [2]: https://github.com/cloudfoundry-incubator/garden-linux-release/blob/master/jobs/garden/spec#L89
On 17 February 2016 at 09:36, Nanduni Nimalsiri <nandunibw(a)gmail.com> wrote:
Hi,
|
|