Lente docker image start needs security-opt flags and threads in order to run.
if [[ $flag_restart == "always" ]]; then
docker run -d \
--network=${flag_network}\
--hostname=${HOSTNAME}${flag_instno} \
-e OPENBLAS_NUM_THREADS=1 \
--security-opt seccomp=unconfined \
--security-opt apparmor=unconfined \
--restart=${flag_restart} \
-v $(pwd):/app/public \
--name lente${flag_instno} \
${flag_image} \
${flag_verbose}
elif [[ $flag_restart == "no" ]]; then
docker run -d \
--network=${flag_network}\
--hostname=${HOSTNAME}${flag_instno} \
-e OPENBLAS_NUM_THREADS=1 \
--security-opt seccomp=unconfined \
--security-opt apparmor=unconfined \
-v $(pwd):/app/public \
--name lente${flag_instno} \
--rm \
${flag_image} \
${flag_verbose}
fi
Lente docker image start needs
security-optflags and threads in order to run.