start-docker 556 B

123456789
  1. #!/bin/bash
  2. # The SYS_NICE capability allows you to use numactl to pin processes to
  3. # NUMA nodes and/or individual cores
  4. 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
  5. 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
  6. 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
  7. echo "All dockers launched"