> On 十一月 17, 2015, 3:12 a.m., Guangya Liu wrote: > > src/cli/execute.cpp, lines 216-228 > > <https://reviews.apache.org/r/40371/diff/3/?file=1127771#file1127771line216> > > > > Can you please explain more why using mesos containerizer can also run > > a docker container? Thanks! > > Jojy Varghese wrote: > The '''Image::DOCKER''' in this context is image type and not container > type. Image type could be '''docker''' or '''appc'''.
Thanks Jojy, but what is the difference of those two command? mesos-execute --master=127.0.0.1:5050 --command="uname -a" \ --name=test_docker --docker_image=ubuntu --containerizer=DOCKER >>>>>>>>The above command will make the task running in docker containers. mesos-execute --master=127.0.0.1:5050 --command="uname -a" \ --name=test_mesos --docker_image=ubuntu --containerizer=MESOS >>>>>>>>What does this one? - Guangya ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40371/#review106789 ----------------------------------------------------------- On 十一月 19, 2015, 12:39 a.m., Jojy Varghese wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/40371/ > ----------------------------------------------------------- > > (Updated 十一月 19, 2015, 12:39 a.m.) > > > Review request for mesos and Timothy Chen. > > > Repository: mesos > > > Description > ------- > > Since docker_image option could be used for mesos and docker containerizer, > introduced a new option 'containerizer' to disambiguate the two > containerizers. > > New usage: > mesos-execute --master=127.0.0.1:5050 --command="uname -a" \ > --name=test_docker --docker_image=ubuntu --containerizer=DOCKER > > mesos-execute --master=127.0.0.1:5050 --command="uname -a" \ > --name=test_mesos --docker_image=ubuntu --containerizer=MESOS > > > Diffs > ----- > > src/cli/execute.cpp d070164e080cb74ee15d3184487a121f429a29fc > > Diff: https://reviews.apache.org/r/40371/diff/ > > > Testing > ------- > > tested the two containerizer locally with simple commands. > > > Thanks, > > Jojy Varghese > >
