Still exposing port 8080 after installing with docker (80 and 443 not working)


#1

Hello all together,

i am planning to use owncloud for me at home.
I plan to deploy owncloud in docker installation.

I already tried in PoC and it worked well.
Now i try to install this in my productive enviroment and it doesn’t work as i need it.

docker volume create owncloud_data
docker run \
        -d \
        --name owncloud \
        -e OWNCLOUD_VERSION="latest" \
        -e OWNCLOUD_DOMAIN="my.domain" \
        -e ADMIN_USERNAME="admin" \
        -e ADMIN_PASSWORD="topsecret" \
        -e HTTP_PORT="80" \
        -e HTTPS_PORT="443" \
        -p 80:80 \
        -p 443:443 \
        --volume owncloud_data:/mnt/data \
        --restart=always \
        owncloud/server

i would expect this creates an owncloud container exposing port 80 und 443 for http(s) access, as already worked in PoC enviroment.

But:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ID owncloud/server “/usr/bin/entrypoint…” 12 seconds ago Up 10 seconds 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 8080/tcp

It still exposes Port 8080 and Port 433 and 80 are not accessible.

To me this seems to be an issue with transfering the enviroment variables to the container. BTW password is still admin, although i declared a different one,

Can anyone help?

Thanks in advance.