docker-py icon indicating copy to clipboard operation
docker-py copied to clipboard

Documentation for exec_run()

Open 2l47 opened this issue 3 years ago • 0 comments

The default user is an empty string, but the docs say it is root. I had to manually specify the user as root in order to run commands as root on a container object. The privileged flag does not seem to have any use.

https://docker-py.readthedocs.io/en/stable/containers.html#docker.models.containers.Container.exec_run The relevant documentation appears to be the same in 4.1.0 (installed), stable, and latest.

2l47 avatar Apr 18 '22 22:04 2l47