Hi, i use the below docker compose file to create the container with portainer and the process works!
but after the container running, i am not able to access the casaos as i could see the the container joined 2 networks with below IPS
- 172.21.0.2 bridge
- 10.22.0.2
so when i trying to access casaos with the host ip:8080, it always saying refused to connect.
browsing the entrypoint.sh and found below segment for creating the 10.22.0.0/16 network, so which IP should i use to bound with the container for access?
new to the docker world. Thanks in advance!
if ! docker network inspect "$net" &>/dev/null; then
if ! docker network create --driver=bridge --subnet="10.22.0.0/16" "$net" >/dev/null; then
error "Failed to create network '$net'!" && exit 14
fi
if ! docker network inspect "$net" &>/dev/null; then
error "Network '$net' does not exist?" && exit 15
fi
fi
services:
casa:
image: dockurr/casa
container_name: casa
ports:
- 8080:8080
volumes:
- "/home/example:/DATA"
- "/var/run/docker.sock:/var/run/docker.sock"
restart: always
stop_grace_period: 1m
Hi, i use the below docker compose file to create the container with portainer and the process works!
but after the container running, i am not able to access the casaos as i could see the the container joined 2 networks with below IPS
so when i trying to access casaos with the host ip:8080, it always saying refused to connect.
browsing the entrypoint.sh and found below segment for creating the 10.22.0.0/16 network, so which IP should i use to bound with the container for access?
new to the docker world. Thanks in advance!