[ 
https://issues.apache.org/jira/browse/MESOS-6148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15491987#comment-15491987
 ] 

Joseph Wu commented on MESOS-6148:
----------------------------------

Note that Mesos containers are more heterogeneous than Docker containers.  The 
characteristics of the container depend heavily on the configuration of the 
Mesos agent.

I suppose you can check for the {{MESOS_SANDBOX}} environment variable.

> mesos containerizer does not create /.dockerenv file
> ----------------------------------------------------
>
>                 Key: MESOS-6148
>                 URL: https://issues.apache.org/jira/browse/MESOS-6148
>             Project: Mesos
>          Issue Type: Improvement
>          Components: containerization, docker
>            Reporter: Stéphane Cottin
>
> Some docker images relies on a specific file set by the docker engine.
> https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/runit/recipes/default.rb
> http://stackoverflow.com/questions/20010199/determining-if-a-process-runs-inside-lxc-docker



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to