diff --git a/check_docker.sh b/check_docker.sh
index 733a444551b3ebc7e51e9d9f35a816c379ceb6e7..7fe4851833da392c6eba6a93bf049990ddff4309 100755
--- a/check_docker.sh
+++ b/check_docker.sh
@@ -77,7 +77,7 @@ for container_stats in ${running_containers_stats}; do
     all_cpu=$(/usr/bin/awk -F ':' '{print +$2}' <(echo $container_stats))
     mem=$(/usr/bin/awk -F ':' '{print +$3}' <(echo $container_stats))
     proc_number=$(nproc --all)
-    cpu=$(echo "scale=2; ${all_cpu} / ${proc_number}" | bc)
+    cpu=$(echo "${all_cpu} ${proc_number}" | /usr/bin/awk '{printf "%.2f", $1 / $2}')
 
     status='OK'
     [[ ${cpu%.*} -ge $cpu_threshold_warning ]] && status='WARNING'