# check host permission docker inspect --format='{{HostConfig.Privileged}}' Container-Name True or False # if container is running then docker exec --privileged -it container-name bash # or docekr run --privileged -it container-name