rmoff's random ramblings
about talks

root

Jan 13, 2021

Running as root on Docker images that don’t use root

tl;dr: specify the --user root argument:

docker exec --interactive \
            --tty \
            --user root \
            --workdir / \
            container-name bash

Continue Reading


Robin Moffatt

Robin Moffatt is a Principal Developer Advocate at Confluent, and an Oracle ACE Director (Alumnus). He likes writing about himself in the third person, eating good breakfasts, and drinking good beer.

Story logo

© 2022