Skip to content

Commit

Permalink
Revert "Add MKNOD capability to docker container (armbian#6927)"
Browse files Browse the repository at this point in the history
This reverts commit 8162899.

The capability has nothing top do with the actual issue.
  • Loading branch information
JohnTheCoolingFan committed Jul 12, 2024
1 parent 8162899 commit 04824d7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/functions/cli/cli-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 04824d7

Please sign in to comment.