Skip to content

Instantly share code, notes, and snippets.

View manishrajkarnikar's full-sized avatar

Manish manishrajkarnikar

  • Target
  • minneapolis
View GitHub Profile
@manishrajkarnikar
manishrajkarnikar / Master image
Last active October 10, 2015 04:01
Script to spin up dockers
FROM java:8-jdk
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF && \
echo "deb http://repos.mesosphere.io/debian jessie main" | tee /etc/apt/sources.list.d/mesosphere.list && \
echo "deb http://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list && \
apt-get update && \
apt-get -y install mesos --no-install-recommends -y --force-yes mesos=0.23.0-1.0.debian81
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d99e43590c9f manishrajkarnikar/slavemesos "/bin/sh -c '/usr/lib" 16 minutes ago Exited (0) 16 minutes ago mesos-20151010-033249-1731963072-5050-6-S1.c76b28c0-53e0-4969-99ae-b686bda71f9d.executor
9e334e1fb56c manishrajkarnikar/slavemesos "/bin/sh -c '/usr/lib" 16 minutes ago Exited (0) 16 minutes ago mesos-20151010-033249-1731963072-5050-6-S1.461ada06-e8ba-4022-be46-d3d5f879597a.executor
a68218bcf40c manishrajkarnikar/slavemesos "/bin/sh -c '/usr/lib" 16 minutes ago Exited (0) 16 minutes ago mesos-20151010-033249-17
[
{
"Id": "f58549e70e3fb5cf72bb30bb126d7b1ddc1054ca53cfc164eb5d0b711fb5dae9",
"Created": "2015-10-14T20:14:42.521235757Z",
"Path": "/bin/sh",
"Args": [
"-c",
"/usr/libexec/mesos/mesos-docker-executor --container=\"mesos-20151014-201413-1684252864-5050-8-S0.d8f7cbd4-acec-4fbf-9f0e-7cd1025a94e4\" --docker=\"docker\" --help=\"false\" --initialize_driver_logging=\"true\" --logbufsecs=\"0\" --logging_level=\"INFO\" --mapped_directory=\"/mnt/mesos/sandbox\" --quiet=\"false\" --sandbox_directory=\"/var/lib/mesos/slave/slaves/20151014-201413-1684252864-5050-8-S0/frameworks/20151014-185842-1684252864-5050-6-0000/executors/microbot.34617200-72b0-11e5-8401-0abc227c53b7/runs/d8f7cbd4-acec-4fbf-9f0e-7cd1025a94e4\" --stop_timeout=\"0ns\""
],
"State": {
--container="mesos-20151014-203940-1684252864-5050-7-S5.19d1480a-9a8e-4fe8-92d7-99046a7a4f39" --docker="docker" --help="false" --initialize_driver_logging="true" --logbufsecs="0" --logging_level="INFO" --mapped_directory="/mnt/mesos/sandbox" --quiet="false" --sandbox_directory="/var/lib/mesos/slave/slaves/20151014-203940-1684252864-5050-7-S5/frameworks/20151014-185842-1684252864-5050-6-0000/executors/microbot.edac9177-72b3-11e5-8441-0abc227c53b7/runs/19d1480a-9a8e-4fe8-92d7-99046a7a4f39" --stop_timeout="0ns"
--container="mesos-20151014-203940-1684252864-5050-7-S5.19d1480a-9a8e-4fe8-92d7-99046a7a4f39" --docker="docker" --help="false" --initialize_driver_logging="true" --logbufsecs="0" --logging_level="INFO" --mapped_directory="/mnt/mesos/sandbox" --quiet="false" --sandbox_directory="/var/lib/mesos/slave/slaves/20151014-203940-1684252864-5050-7-S5/frameworks/20151014-185842-1684252864-5050-6-0000/executors/microbot.edac9177-72b3-11e5-8441-0abc227c53b7/runs/19d1480a-9a8e-4fe8-92d7-99046a7a4f39" --stop_timeout="0
[14:54] == manishrajkarnika [32f97f1b@gateway/web/freenode/ip.50.249.127.27] has joined #mesos
[14:54] -ChanServ- [#mesos] This channel is publicly logged.
[14:54] <manishrajkarnika> hi
[14:54] == lambert [~lambert@4.53.133.222] has joined #mesos
[14:55] <manishrajkarnika> i am having issue with docker 1.7/1.8 container deployment with mesos 0.24.1 and marathon 0.11.0
[14:55] <manishrajkarnika> I have documented the issue here http://stackoverflow.com/questions/33050112/marathon-not-loading-docker-container-failed-to-get-resource-statistics-for-exe
[14:56] <manishrajkarnika> wondering if somebody can help me out
[15:00] == achanda [~abhishek@c-98-234-181-87.hsd1.ca.comcast.net] has quit [Remote host closed the connection]
[15:00] <dtrainor> can you docker inspect that image and see what it gives you?
[15:01] == jieyu [~jieyu@8.25.197.25] has quit [Remote host closed the connection]
void a(){
throw new Exception("asdfs")
}
void b(){
a()
}
void c(){
b()