1 article in this category
tl;dr: specify the --user root argument: docker exec --interactive \ --tty \ --user root \ --workdir / \ container-name bash