X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=fdio.infra.ansible%2Froles%2Fdocker_images%2Ftemplates%2Fdocker-compose-sut.yaml.j2;h=79f0f71e58e38e1bd6c540c474cd938e7b15e5db;hp=d24ea0236e3fc665e30a20db996fe5db87bd74bb;hb=a992f87495a72b4e0962ff73529cf4230cc33893;hpb=cbdbc95ffc63a1eb2ffc170a979e11bfa0d4162a diff --git a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 index d24ea0236e..79f0f71e58 100644 --- a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 +++ b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 @@ -4,6 +4,8 @@ services: build: context: "base/" dockerfile: "Dockerfile" + cap_add: + - NET_RAW command: ["/usr/sbin/sshd","-D", "-p", "6001"] expose: - "6001" @@ -47,6 +49,8 @@ services: build: context: "base/" dockerfile: "Dockerfile" + cap_add: + - NET_RAW command: ["/usr/sbin/sshd","-D", "-p", "6002"] expose: - "6002"