start-docker 307 B

12345678
  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 floram_p0 -h floram_p0 -t floram
  5. docker run -d --cap-add SYS_NICE --rm --name floram_p1 -h floram_p1 -t floram
  6. echo "All dockers launched"