fortiweb docker image deployment - Error - Program (sysinit) exit Caused by receive signal(9)
Hello,
we are trying to deploy fortiweb-image docker image according following instructions: https://docs.fortinet.com/document/fortiweb-private-cloud/6.4.0/fortiweb-vm-on-docker/794267/deploying-fortiweb-vm-on-docker
and our container is running but with no web server/GUI accessible and getting following error on docker logs:
System is started!!!
Program (sysinit) exit
Caused by receive signal(9)
can you please advise how overcome this error and expose the fortiweb GUI?
adding some info:
1. docker image built and run as follows: (per above documentation instructions)
cd ~/fwb/image-docker-64
docker build -t fortiweb-image .
cd script/
./docker-fwb.sh -i fortiweb-image -n fortiweb-docker -e ChangeMe123 -g 7180 -m 8
1. we selected 7180 port for our testing for http server
2. docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4075ec69f969 fortiweb-image "/bin/docker_init" 3 minutes ago Up 3 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:7180->7180/tcp, 0.0.0.0:90->9/tcp, 0.0.0.0:8022->22/tcp, 0.0.0.0:8443->43/tcp fortiweb-docker
3. netstat -plnt
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:7180 0.0.0.0:* LISTEN 869740/docker-proxy
tcp 0 0 0.0.0.0:8022 0.0.0.0:* LISTEN 869801/docker-proxy
tcp 0 0 127.0.0.1:34635 0.0.0.0:* LISTEN 128015/confighandle
tcp 0 0 127.0.0.1:36903 0.0.0.0:* LISTEN 128258/containerd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 639328/sshd: /usr/s
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 869773/docker-proxy
tcp 0 0 0.0.0.0:90 0.0.0.0:* LISTEN 869814/docker-proxy
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 869759/docker-proxy
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 639376/systemd-reso
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 869787/docker-proxy
tcp6 0 0 :::22 :::* LISTEN 639328/sshd: /usr/s
4. ip tables
iptables -nvL -t nat
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
1082K 76M DOCKER all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
2 120 DOCKER all -- * * 0.0.0.0/0 !127.0.0.0/8 ADDRTYPE match dst-type LOCAL
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
7 494 MASQUERADE all -- * !docker0 172.17.0.0/16 0.0.0.0/0
0 0 MASQUERADE tcp -- * * 172.17.0.2 172.17.0.2 tcp dpt:7180
0 0 MASQUERADE tcp -- * * 172.17.0.2 172.17.0.2 tcp dpt:443
0 0 MASQUERADE tcp -- * * 172.17.0.2 172.17.0.2 tcp dpt:80
0 0 MASQUERADE tcp -- * * 172.17.0.2 172.17.0.2 tcp dpt:43
0 0 MASQUERADE tcp -- * * 172.17.0.2 172.17.0.2 tcp dpt:22
0 0 MASQUERADE tcp -- * * 172.17.0.2 172.17.0.2 tcp dpt:9
Chain DOCKER (2 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- docker0 * 0.0.0.0/0 0.0.0.0/0
0 0 DNAT tcp -- !docker0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:7180 to:172.17.0.2:7180
2 80 DNAT tcp -- !docker0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 to:172.17.0.2:443
10 496 DNAT tcp -- !docker0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 to:172.17.0.2:80
0 0 DNAT tcp -- !docker0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8443 to:172.17.0.2:43
0 0 DNAT tcp -- !docker0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8022 to:172.17.0.2:22
0 0 DNAT tcp -- !docker0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:90 to:172.17.0.2:9
