Comments (8)
Hi
Let's try to localise the problem first.
- Try to run something (a simple 'bash' hello world loop) from the Marathon UI. Does it work?
1.1) If that works, try to run another docker container. something small and simple - ubuntu. does it work? - Are there any errors?
- Look at the docker logs (docker log
from docker-mesos.
A simple helloworld works:
curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" \
localdocker:18080/v2/apps -d '
{
"id": "hello",
"cpus": "0.1",
"mem": "32",
"cmd": "echo hello; sleep 10"
}'
This runs no problem, although I'm not able to view the sandbox link through the Mesos UI:
from docker-mesos.
Hmmm... Inky fails even when avoiding the container contents by using echo hello; sleep 10
as the command:
curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" \
localdocker:18080/v2/apps -d '
{
"id": "inky",
"container": {
"docker": {
"image": "mesosphere/inky"
},
"type": "DOCKER",
"volumes": []
},
"cpus": 0.1,
"mem": 16.0,
"instances": 1,
"cmd": "echo hello; sleep 10"
}'
from docker-mesos.
Hmmm... ubuntu fails as well
curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" \
localdocker:18080/v2/apps -d '
{
"id": "ubuntutest",
"container": {
"docker": {
"image": "ubuntu"
},
"type": "DOCKER",
"volumes": []
},
"cpus": 0.1,
"mem": 16.0,
"instances": 1,
"cmd": "echo hello; sleep 10"
}'
from docker-mesos.
Hi @breerly !
I've seen the bug where I can't connect to the sandbox. I've spent a few hours trying to understand it and solve it, unsuccessfully obviously. It's really annoying.
My guess is that it has to do with port exposure and hostnames.
Regarding the others:
Guessing it's unable to retrieve the images, do you think so too?
Can you try to grab the logs from the actual hosts?
Please check that all your hosts have Internet access.
please try to docker pull the image on the slave (does it work?) and then run the same mesos command
from docker-mesos.
@yaronr Are you able to get anything working?
from docker-mesos.
I did, back at the days I played with it.
I will try again later - I'm in the middle of something right now. But the setup is pretty simple - so if you can fix it you self and send a pull request, that'll be great.
from docker-mesos.
Did somebody find a solution by any chance? I am running into the same problem currently.. Thanks a ton for any hints!
from docker-mesos.
Related Issues (2)
- Executors dies silently HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-mesos.