You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.
Frank Scholten edited this page Mar 7, 2016
·
3 revisions
Background
Minimesos itself runs in Docker containers and its agents launch Docker containers. This can be supported by using the host's Docker or running Docker inside the Mesos Agent container. Both solutions have pros and cons.
Current implementation
The current implementation is Docker outside Docker
Docker outside Docker
Pros
Simple, just add Docker socket as volume
Can reuse images from the Docker host
Cons
Volumes do not work since Docker created volume on host instead of inside agent
Docker inside Docker
Pros
Matches a production setup
Cons
Cannot reuse images from Docker host. Require registry container and pushing & pulling images. Pushing be avoided if Docker Distribution supports loading images from host on startup
Complex Docker image with supervisor which manages agent process and Docker
Developers require a proxy to talk to inner Docker