[no subject]

2017-05-09 Thread Lasya Marla
Resolved on my own! 


Mistake in Error Message

2017-05-09 Thread Lasya Marla
I  actually realized I made a mistake with the error message. The error I am 
seeing is 

Received status update TASK_FAILED for task 'something'
  message: 'Container exited with status 1'
  source: SOURCE_EXECUTOR




Docker Containerization on Mesos

2017-05-09 Thread Lasya Marla
I am trying to run a simple hello_world image on my agent. I started my
master on my local machine like so.
./bin/mesos-agent.sh --master=127.0.0.1:5050 --work_dir=/var/lib/mesos
--containerizers=docker,mesos

Then I started my agent like so.
./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/var/lib/mesos

Then I tried to execute a docker image command on my agent like so.
mesos-execute --ip=127.0.0.1:5050 --name=something --command=sleep
--containerizer=docker --docker_image=hello_world

I recieved the following error message

message: 'Failed to launch container: Failed to run 'docker -H
unix:///var/run/docker.sock pull hello_world:latest': exited with status 1;
stderr='Error response from daemon: repository hello_world not found: does
not exist or no pull access

I have docker running locally which is where the agent and master are
running as well so I am not sure what the issue is. I am on OSX and the
most recent versions of both docker and mesos.

Thanks