You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Stanislav Lukyanov <st...@gmail.com> on 2019/02/20 11:26:22 UTC

Re: External multiple config files for Docker installation

Ignite's Docker image doesn't have a parameter for that.
You can create your own Dockerfile extending Ignite's image and define and
handle a new parameter there.

Stan


kyro wrote
> Hi akurbanov,
> 
> Yes, I have the lines as you mentioned in my config. I was asking as to
> how
> do I pass the two config files when using the docker run command? In the
> docker installation documentation it is written that we can give the uri
> for
> one config file, but how do I import the jettyconfig.xml file?
> 
> Thanks,
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: External multiple config files for Docker installation

Posted by Stephen Darlington <st...@gridgain.com>.
A lower-lift method might be to put your config files in the local file system and create a volume to make it accessible from your container.

Something like:

docker run —rm -it -v /home/me/config:/opt/ignite/config -e CONFIG_URI=file:///opt/ignite/config/local.xml <file:///opt/ignite/config/local.xml> apacheignite/ignite:2.7.0

Regards,
Stephen

> On 20 Feb 2019, at 11:26, Stanislav Lukyanov <st...@gmail.com> wrote:
> 
> Ignite's Docker image doesn't have a parameter for that.
> You can create your own Dockerfile extending Ignite's image and define and
> handle a new parameter there.
> 
> Stan
> 
> 
> kyro wrote
>> Hi akurbanov,
>> 
>> Yes, I have the lines as you mentioned in my config. I was asking as to
>> how
>> do I pass the two config files when using the docker run command? In the
>> docker installation documentation it is written that we can give the uri
>> for
>> one config file, but how do I import the jettyconfig.xml file?
>> 
>> Thanks,
>> 
>> 
>> 
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
> 
> 
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/