Revert "Add MKNOD capability to docker container (#6927)"

This reverts commit 8162899d3d.

The capability has nothing top do with the actual issue.
This commit is contained in:
JohnTheCoolingFan
2024-07-12 23:35:29 +03:00
committed by Igor
parent 7678009f60
commit 69f408236e

View File

@@ -74,10 +74,7 @@ function cli_docker_run() {
case "${DOCKER_SUBCMD}" in
shell)
display_alert "Launching Docker shell" "docker-shell" "info"
# The MKNOD capability is required for loop device search function.
# In case there are no loop devices available, losetup -f would not be able to create a loop
# device, yet it will output a loop device path
docker run -it --cap-add MKNOD "${DOCKER_ARGS[@]}" "${DOCKER_ARMBIAN_INITIAL_IMAGE_TAG}" /bin/bash
docker run -it "${DOCKER_ARGS[@]}" "${DOCKER_ARMBIAN_INITIAL_IMAGE_TAG}" /bin/bash
;;
purge)