Login as root to CODE container

How can I enter CODE container as root? (it currently enters as “lool”)
I need to install packages like ping and tcpdump

docker-compose exec --user root bash

1 Like