- #!/bin/bash
- # The SYS_NICE capability allows you to use numactl to pin processes to
- # NUMA nodes and/or individual cores
- docker run -d --cap-add SYS_NICE --rm --name ${PRAC_DOCKER_PREFIX}prac_p0 -h ${PRAC_DOCKER_PREFIX}prac_p0 -t ${PRAC_DOCKER_PREFIX}prac
- docker run -d --cap-add SYS_NICE --rm --name ${PRAC_DOCKER_PREFIX}prac_p1 -h ${PRAC_DOCKER_PREFIX}prac_p1 -t ${PRAC_DOCKER_PREFIX}prac
- docker run -d --cap-add SYS_NICE --rm --name ${PRAC_DOCKER_PREFIX}prac_p2 -h ${PRAC_DOCKER_PREFIX}prac_p2 -t ${PRAC_DOCKER_PREFIX}prac
- echo "All dockers launched"
|