Creates a new ContainerDevice.
containerPath The path in the container where the device will be bound. If not set, it defaults to the value of hostPath.
hostPath The path on the host where the device is located.
permissions The cgroup permissions given to the container to access the device. Defaults to rwm.