-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yaml
48 lines (45 loc) · 1.16 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '3.8'
services:
kali:
build:
dockerfile: Dockerfile
context: ./kali
#image: 'kalilinux/kali-rolling'
container_name: kali
tty: true
restart: always
privileged: true # Add the privileged option, SYS_ADMIN is limited, where privileged has full access
network_mode: host
stdin_open: true
ports:
- 127.0.0.1:8085:8085
ubuntu:
build:
dockerfile: Dockerfile
context: ./ubuntu
#image: 'ubuntu:jammy'
container_name: ubuntu
privileged: true
network_mode: host
tty: true
restart: always
stdin_open: true
ports:
- 127.0.0.1:8086:8086
kali_systemd_2:
build:
dockerfile: Dockerfile_systemd
context: ./kali
#image: 'kalilinux/kali-rolling'
# systemd image prebuilt
#image: 'lostcauze7/kali-dockerized:latest'
container_name: kali_systemd_2
network_mode: host
tty: true
restart: always
stdin_open: true
privileged: true # Add the privileged option, SYS_ADMIN is limited, where privileged has full access
working_dir: /usr # Add the working directory option
ports:
- 127.0.0.1:8087:8087
command: "/bin/bash"