[duplicate] Docker IPC FLAG is not respected by drone


kind: pipeline
name: default

steps:

  • name: test
    image: ubuntu:16.04
    ipc: host <<< this container is starting with “private” namespace
    volumes:
    • name: dockersock
      path: /var/run
      commands:
    • sleep 5 # give docker enough time to start

services:

  • name: docker
    image: docker:dind
    privileged: true
    ipc: host <<< this container is also starting with “private” namespace
    volumes:
    • name: dockersock
      path: /var/run

volumes:

  • name: dockersock
    temp: {}

Also drone is respecting any ipc related option.

Drone supports a subset of docker options in its yaml specification and does not currently support the ipc flag. Let’s use the existing discourse thread [1] to track this feature request.

[1] Does drone support "--ipc host" option?

1 Like