Skip to content

vektorcloud/mesos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache Mesos on Alpine

circleci

Docker Repository on Quay

Versions

Mesos Alpine Docker (client)
1.4.0 3.6 17.07.0-ce

Purpose

This repository maintains a Docker image with the latest stable release of Apache Mesos compiled on Alpine with musl-libc. With all compiled Mesos binaries and the Docker client the image size is ~126MB.

Usage

The easiest way to run Mesos locally for development and testing is to use mesos-local which has no dependency on Zookeeper and runs the Master and agent processes together.

The image is configured by default to have limited isolation capabilities.

# Basic isolation
docker run --rm -ti -p 5050:5050 -p 5051:5051 quay.io/vektorcloud/mesos mesos-local
# Only Docker isolation
docker run --rm -ti -v /var/run/docker.sock:/var/run/docker.sock -e MESOS_ISOLATION=docker/runtime quay.io/vektorcloud/mesos mesos-local
# Mesos only containerizer with support for Docker images
docker run --rm -ti --privileged -e MESOS_LAUNCHER=linux -e MESOS_ISOLATION=cgroups/cpu,cgroups/mem,cgroups/pids,namespaces/pid -e MESOS_IMAGE_PROVIDERS=APPC,DOCKER quay.io/vektorcloud/mesos mesos-local
# Run with full support for cgroup isolation
docker run --rm -ti --privileged -e MESOS_LAUNCHER=linux -e MESOS_ISOLATION=cgroups/cpu,cgroups/mem,cgroups/pids,namespaces/pid,filesystem/shared,filesystem/linux,volume/sandbox_path mesos-local

You can then verify it is running by browsing to http://localhost:5050

Configuration

All configuration options are specified with environment variables. Take a look at the documentation for more details.

About

Tiny Alpine image for running Apache Mesos

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •