8000 Unable to turn on init process in docker-for-mac · Issue #1336 · docker/for-mac · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unable to turn on init process in docker-for-mac #1336
Closed
@micahhausler

Description

@micahhausler

Expected behavior

Adding the following docker configuration should add --init to the dockerd daemon and mount tini to /dev/init.

{
  "init" : true
}

Actual behavior

No --init flag on the dockerd daemon, no /dev/init mounted into containers

Information

I'm running docker 1.13.1 on macOS 10.12.3, a fresh install of docker for mac

Steps to reproduce the behavior

  1. Start docker for mac
  2. Run docker run -it --rm alpine ls /dev, and there is no init entry
  3. Run docker run -it --rm --pid host -e COLUMNS=200 alpine /bin/sh -c "ps aux | grep dockerd", and there is no --init flag added

Configured as indicated by moby/moby#26941 moby/moby#26061, and moby/moby#28037

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0