Skip to content

Instantly share code, notes, and snippets.

@chetan
Last active August 31, 2016 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chetan/1b2dd4c2dd4f0c556e55080fd1505653 to your computer and use it in GitHub Desktop.
Save chetan/1b2dd4c2dd4f0c556e55080fd1505653 to your computer and use it in GitHub Desktop.

Failed to initialize sandbox: Failed to create group in sandbox for task image: Command '['groupadd', '-R', '/var/lib/mesos/slaves/853a55ff-b319-451e-8797-80eae2e301c3-S0/frameworks/16faae0a-5d31-400c-84e7-e6edbdf2afff-0000/executors/thermos-root-devel-redis-aurora-0-0dcec1df-2e34-4fd9-8f77-955127bce03d/runs/13e44672-a93a-4071-9ee3-ec6450b2a5f1/taskfs', '-g', '0', 'root']' returned non-zero exit status 9

FROM redis:latest
RUN apt-get update && apt-get install -y python
hello_world_proc = Process(
name="hello_process",
cmdline="/usr/local/bin/redis-server")
hello_world_docker = Task(
name = 'hello docker',
processes = [hello_world_proc],
resources = Resources(cpu = 1, ram = 100*MB, disk=1*GB))
jobs = [
Service(cluster = 'main',
environment = 'devel',
role = 'aurora',
name = 'redis-aurora',
task = hello_world_docker,
container = Mesos(image=DockerImage(name='testing-redis-aurora', tag='latest'))
)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment