Limitation of the Docker functions

Some Docker functions are partially limited.

Note the following exceptions when working with Docker functions:

Name

Value

Description

Exception

--volume , v

-

Bind mount a volume

Bind mounts are permitted to the following paths on the host machine:

  • /var/run/docker.sock
  • /run/media
  • subfolders of /run/media

--pid

--pid=host

PID namespace to use

Container with the value --pid=host cannot be started.

--ipc

--ipc=host

IPC mode to use

Container with the value --ipc=host cannot be started.

--device

-

Add a host device to a container

The following host devices cannot be mapped into a container manually:

/dev/mem

/dev/sd*

/dev/dm*

/dev/mapper

/dev/mmcblk*

/dev/ram*

/dev/rtc*

/dev/gpio*

/dev/iio*

/dev/watchdog*

--privileged

-

Give extended privileges to this container

Host devices are not mapped into a container by default. You can map host devices into a container manually.