Skip to content

UID/GID in makefile for run-docker #309

@DrEStaudinger

Description

@DrEStaudinger

Hi everybody,

in the Makefile you have a docker run command as follows:

docker run -u $(id -u):$(id -g) -p 8888:8888 --privileged=true $(GPU) --env NVIDIA_DRIVER_CAPABILITIES=graphics,compute,utility --rm -it sionna

For me, the option -u $(id -u):$(id -g) does not work, as the returned IDs are empty.
Changing it to -u $(shell id -u):$(shell id -g) solves it.

Cheers,
Emanuel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions