aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/docker_images/templates
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/docker_images/templates')
-rw-r--r--fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j24
1 files changed, 4 insertions, 0 deletions
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"