docker_ci icon indicating copy to clipboard operation
docker_ci copied to clipboard

`sudo` required to run demos

Open miccio-dk opened this issue 2 years ago • 1 comments

As per title, sudo is required by the demo scripts and it's not installed by default on the container. This can be easily fixed with apt-get update && apt-get -y install sudo.

miccio-dk avatar Jun 17 '22 09:06 miccio-dk

our direction is to drop the dependency on the sudo in the container. Demos should not require it. In new images from the coming releases, it should be improved. The container could be executed in any security context so using sudo wouldn't be convenient and secure. If there are any operation in the container which requires privileged access, it is better to start the container with --user root parameter.

dtrawins avatar Sep 13 '22 20:09 dtrawins