You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Thodoris Zois <zo...@ics.forth.gr> on 2017/09/12 11:22:49 UTC
Docker run command - Mesos Containerizer
Hello,
I am using, Mesos Containerizer with Docker Images.
Is there any way to specify my command for docker run? I would like to pass some arguments for the docker image, like —privileged and an enviromental variable
Thank you,
Thodoris
Re: Docker run command - Mesos Containerizer
Posted by "jack@is-land.com.tw" <ja...@is-land.com.tw>.
On 2017-09-13 15:17, Thodoris Zois <zo...@ics.forth.gr> wrote:
> Yes, i have made my own framework to run docker images under Mesos Containerizer.
> But i donât know how to make the image privileged when running, and i need to pass a variable at the imageâ¦
>
> Thodoris
>
> > On 13 Sep 2017, at 09:27, jack@is-land.com.tw wrote:
> >
> >
> >
> > On 2017-09-13 12:13, Thodoris Zois <zo...@ics.forth.gr> wrote:
> >> Hello,
> >>
> >> Yes you are probably right.. what i am trying to do is to make the container image privileged, and also i would like to some some environmental variables to the script running by the docker image. Any ideas?
> >>
> >>> On 13 Sep 2017, at 05:36, "jack@is-land.com.tw"<ja...@is-land.com.tw> wrote:
> >>>
> >>>
> >>>
> >>>> On 2017-09-12 19:22, Thodoris Zois <zo...@ics.forth.gr> wrote:
> >>>> Hello,
> >>>>
> >>>> I am using, Mesos Containerizer with Docker Images.
> >>>> Is there any way to specify my command for docker run? I would like to pass some arguments for the docker image, like âÂÂprivileged and an enviromental variable
> >>>>
> >>>> Thank you,
> >>>> Thodoris
> >>>
> >>> Hi,
> >>>
> >>> I have the impression that can't use the `docker run` command.
> >>>
> >>> Need to use the running framework task configuration.
> >>>
> >>> For more details please refer to:
> >>> https://mesosphere.github.io/marathon/docs/native-docker.html
> >>
> >>
> > Hi,
> >
> > I don't have any no idea.
> >
> > How did you make the container image privileged?
> >
> > Did you Create a custom Framework for running Docker images?
> >
>
>
Maybe can be traced the Marathon Framework source code.
Re: Docker run command - Mesos Containerizer
Posted by Thodoris Zois <zo...@ics.forth.gr>.
I will try it! Thank you…
> On 13 Sep 2017, at 10:32, jack@is-land.com.tw wrote:
>
>
>
> On 2017-09-13 15:17, Thodoris Zois <zois@ics.forth.gr <ma...@ics.forth.gr>> wrote:
>> Yes, i have made my own framework to run docker images under Mesos Containerizer.
>> But i don’t know how to make the image privileged when running, and i need to pass a variable at the image…
>>
>> Thodoris
>>
>>> On 13 Sep 2017, at 09:27, jack@is-land.com.tw <ma...@is-land.com.tw> wrote:
>>>
>>>
>>>
>>> On 2017-09-13 12:13, Thodoris Zois <zois@ics.forth.gr <ma...@ics.forth.gr>> wrote:
>>>> Hello,
>>>>
>>>> Yes you are probably right.. what i am trying to do is to make the container image privileged, and also i would like to some some environmental variables to the script running by the docker image. Any ideas?
>>>>
>>>>> On 13 Sep 2017, at 05:36, "jack@is-land.com.tw <ma...@is-land.com.tw>"<jack@is-land.com.tw <ma...@is-land.com.tw>> wrote:
>>>>>
>>>>>
>>>>>
>>>>>> On 2017-09-12 19:22, Thodoris Zois <zois@ics.forth.gr <ma...@ics.forth.gr>> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I am using, Mesos Containerizer with Docker Images.
>>>>>> Is there any way to specify my command for docker run? I would like to pass some arguments for the docker image, like —privileged and an enviromental variable
>>>>>>
>>>>>> Thank you,
>>>>>> Thodoris
>>>>>
>>>>> Hi,
>>>>>
>>>>> I have the impression that can't use the `docker run` command.
>>>>>
>>>>> Need to use the running framework task configuration.
>>>>>
>>>>> For more details please refer to:
>>>>> https://mesosphere.github.io/marathon/docs/native-docker.html
>>>>
>>>>
>>> Hi,
>>>
>>> I don't have any no idea.
>>>
>>> How did you make the container image privileged?
>>>
>>> Did you Create a custom Framework for running Docker images?
>>>
>>
>>
>
> Maybe can be traced the Marathon Framework source code
Re: Docker run command - Mesos Containerizer
Posted by "jack@is-land.com.tw" <ja...@is-land.com.tw>.
On 2017-09-13 15:17, Thodoris Zois <zo...@ics.forth.gr> wrote:
> Yes, i have made my own framework to run docker images under Mesos Containerizer.
> But i donât know how to make the image privileged when running, and i need to pass a variable at the imageâ¦
>
> Thodoris
>
> > On 13 Sep 2017, at 09:27, jack@is-land.com.tw wrote:
> >
> >
> >
> > On 2017-09-13 12:13, Thodoris Zois <zo...@ics.forth.gr> wrote:
> >> Hello,
> >>
> >> Yes you are probably right.. what i am trying to do is to make the container image privileged, and also i would like to some some environmental variables to the script running by the docker image. Any ideas?
> >>
> >>> On 13 Sep 2017, at 05:36, "jack@is-land.com.tw"<ja...@is-land.com.tw> wrote:
> >>>
> >>>
> >>>
> >>>> On 2017-09-12 19:22, Thodoris Zois <zo...@ics.forth.gr> wrote:
> >>>> Hello,
> >>>>
> >>>> I am using, Mesos Containerizer with Docker Images.
> >>>> Is there any way to specify my command for docker run? I would like to pass some arguments for the docker image, like âÂÂprivileged and an enviromental variable
> >>>>
> >>>> Thank you,
> >>>> Thodoris
> >>>
> >>> Hi,
> >>>
> >>> I have the impression that can't use the `docker run` command.
> >>>
> >>> Need to use the running framework task configuration.
> >>>
> >>> For more details please refer to:
> >>> https://mesosphere.github.io/marathon/docs/native-docker.html
> >>
> >>
> > Hi,
> >
> > I don't have any no idea.
> >
> > How did you make the container image privileged?
> >
> > Did you Create a custom Framework for running Docker images?
> >
>
>
Maybe can be traced the Marathon Framework source code
Re: Docker run command - Mesos Containerizer
Posted by Thodoris Zois <zo...@ics.forth.gr>.
Yes, i have made my own framework to run docker images under Mesos Containerizer.
But i don’t know how to make the image privileged when running, and i need to pass a variable at the image…
Thodoris
> On 13 Sep 2017, at 09:27, jack@is-land.com.tw wrote:
>
>
>
> On 2017-09-13 12:13, Thodoris Zois <zo...@ics.forth.gr> wrote:
>> Hello,
>>
>> Yes you are probably right.. what i am trying to do is to make the container image privileged, and also i would like to some some environmental variables to the script running by the docker image. Any ideas?
>>
>>> On 13 Sep 2017, at 05:36, "jack@is-land.com.tw"<ja...@is-land.com.tw> wrote:
>>>
>>>
>>>
>>>> On 2017-09-12 19:22, Thodoris Zois <zo...@ics.forth.gr> wrote:
>>>> Hello,
>>>>
>>>> I am using, Mesos Containerizer with Docker Images.
>>>> Is there any way to specify my command for docker run? I would like to pass some arguments for the docker image, like âprivileged and an enviromental variable
>>>>
>>>> Thank you,
>>>> Thodoris
>>>
>>> Hi,
>>>
>>> I have the impression that can't use the `docker run` command.
>>>
>>> Need to use the running framework task configuration.
>>>
>>> For more details please refer to:
>>> https://mesosphere.github.io/marathon/docs/native-docker.html
>>
>>
> Hi,
>
> I don't have any no idea.
>
> How did you make the container image privileged?
>
> Did you Create a custom Framework for running Docker images?
>
Re: Docker run command - Mesos Containerizer
Posted by "jack@is-land.com.tw" <ja...@is-land.com.tw>.
On 2017-09-13 12:13, Thodoris Zois <zo...@ics.forth.gr> wrote:
> Hello,
>
> Yes you are probably right.. what i am trying to do is to make the container image privileged, and also i would like to some some environmental variables to the script running by the docker image. Any ideas?
>
> > On 13 Sep 2017, at 05:36, "jack@is-land.com.tw"<ja...@is-land.com.tw> wrote:
> >
> >
> >
> >> On 2017-09-12 19:22, Thodoris Zois <zo...@ics.forth.gr> wrote:
> >> Hello,
> >>
> >> I am using, Mesos Containerizer with Docker Images.
> >> Is there any way to specify my command for docker run? I would like to pass some arguments for the docker image, like âprivileged and an enviromental variable
> >>
> >> Thank you,
> >> Thodoris
> >
> > Hi,
> >
> > I have the impression that can't use the `docker run` command.
> >
> > Need to use the running framework task configuration.
> >
> > For more details please refer to:
> > https://mesosphere.github.io/marathon/docs/native-docker.html
>
>
Hi,
I don't have any no idea.
How did you make the container image privileged?
Did you Create a custom Framework for running Docker images?
Re: Docker run command - Mesos Containerizer
Posted by Thodoris Zois <zo...@ics.forth.gr>.
Hello,
Yes you are probably right.. what i am trying to do is to make the container image privileged, and also i would like to some some environmental variables to the script running by the docker image. Any ideas?
> On 13 Sep 2017, at 05:36, "jack@is-land.com.tw"<ja...@is-land.com.tw> wrote:
>
>
>
>> On 2017-09-12 19:22, Thodoris Zois <zo...@ics.forth.gr> wrote:
>> Hello,
>>
>> I am using, Mesos Containerizer with Docker Images.
>> Is there any way to specify my command for docker run? I would like to pass some arguments for the docker image, like —privileged and an enviromental variable
>>
>> Thank you,
>> Thodoris
>
> Hi,
>
> I have the impression that can't use the `docker run` command.
>
> Need to use the running framework task configuration.
>
> For more details please refer to:
> https://mesosphere.github.io/marathon/docs/native-docker.html
Re: Docker run command - Mesos Containerizer
Posted by "jack@is-land.com.tw" <ja...@is-land.com.tw>.
On 2017-09-12 19:22, Thodoris Zois <zo...@ics.forth.gr> wrote:
> Hello,
>
> I am using, Mesos Containerizer with Docker Images.
> Is there any way to specify my command for docker run? I would like to pass some arguments for the docker image, like âprivileged and an enviromental variable
>
> Thank you,
> Thodoris
Hi,
I have the impression that can't use the `docker run` command.
Need to use the running framework task configuration.
For more details please refer to:
https://mesosphere.github.io/marathon/docs/native-docker.html