docker: Add strace for interactive debugging
[petitboot] / docker / build-pb
index 6ed2af6d88ffb63a2f9bda2bfdb4491716a53446..1d87fb421447ddce0cdb399d81d99afd03a370db 100755 (executable)
@@ -105,7 +105,7 @@ docker_user_args="-u $(id -u):$(id -g)"
 
 if [[ -n "${interactive}" ]]; then
        cd "${TOP_DIR}"
-       docker_args="${docker_base_args}"
+       docker_args="${docker_base_args} --privileged"
        run_cmd "docker run -it ${docker_args} ${DOCKER_TAG} /bin/bash"
        exit
 fi