start-docker 378 B

1234567891011
  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 ramen_p0 -h ramen_p0 -t ramen
  5. docker run -d --cap-add SYS_NICE --rm --name ramen_p1 -h ramen_p1 -t ramen
  6. docker run -d --cap-add SYS_NICE --rm --name ramen_p2 -h ramen_p2 -t ramen
  7. echo "All dockers launched"