Philip Winder created MESOS-5927:
------------------------------------
Summary: Unable to run "scratch" Dockerfiles with Unified
Containerizer
Key: MESOS-5927
URL: https://issues.apache.org/jira/browse/MESOS-5927
Project: Mesos
Issue Type: Bug
Components: containerization
Affects Versions: 1.0.0
Reporter: Philip Winder
It is not possible to run Docker containers that are based upon the "scratch"
container.
Setup: Mesos 1.0.0 with the following Mesos settings:
```
echo 'docker' | sudo tee /etc/mesos-slave/image_providers
echo 'filesystem/linux,docker/runtime' | sudo tee /etc/mesos-slave/isolation
```
Recreate: From a Master or Slave, run something to the effect of:
`mesos-execute --command='echo ok' --docker_image=scratch --master=$MASTER:5050`
Effect: The container will crash with messages from Mesos reporting it can't
mount folder x/y/z. E.g. can't mount /tmp. This means you can't run any
container that is not a "fat" container (i.e. one with a full OS).
Expected: Run without issues.
Use case: We use scratch based containers with static binaries to keep the
image size down. This is a common practice.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)