Skip to content

Lente docker start script needs flags #55

Description

@sistemicorp

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions