Question
· Jan 17, 2022

Docker container w/ IRIS

Hello everyone,

I am having a challenge with the IRIS community version in Docker with wsl2. Host machine is Win 11 and the IRIS/Ubuntu image is Ubuntu-20.04 from running 'wsl -l -v.

I am not able to reach the WebPortal in IRIS nor the Super User port. docker ps -a = containers.intersystems.com/intersystems/iris-community:2021.1.0.215.3   "/tini -- /iris-main"   3 weeks ago   Up 26 hours (healthy)   0.0.0.0:1972->1972/tcp, 2188/tcp, 53773/tcp, 0.0.0.0:52773->52773/tcp, 54773/tcp   iris

Now, I was under the impression that the ports forwarded through the Host to the Image so I should be able to reach the portal by using  http://localhost:1972/csp/sys/UtilHome.csp or http://localhost:52772/csp/sys/UtilHome.csp where localhost ='s the ip of the host machine or the ip of the Image. The image's ip is in the 172 block whereas the host is in the 192.I was trying to assign the IP within the image and sudo is not working so the command 'ip address add 192.168.XXX.XXX/24 dev eth0' fails with "RTNETLINK answers: Operation not permitted"

I'm thinking that I may have missed a step in the setup. But, have gone back over the instructions a couple of times, and I'm not seeing anything that I may have missed. Any assistance would be greatly appreciated! 

The result of 'ip addr show' is below.

$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0
8: eth0@if9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:ac:11:00:02 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.17.0.2/16 brd 172.17.255.255 scope global eth0
       valid_lft forever preferred_lft forever

Product version: IRIS 2021.1
$ZV: iris-community:2021.1.0.215.3
Discussion (5)1
Log in or sign up to continue