1. What is the issue? Please be detailed.
I'm trying to set up an ODK Central server using Docker, behind a corporate proxy, with a private IP for the moment. Is this configuration feasible? I'm unsure if the issue is related to the proxy settings or if it's a verification issue caused by the restricted environment.
Corporate policies prevent me from publishing the service until it has been tested by the IT department. The service will eventually be accessed through a reverse proxy with the necessary certificates installed upstream.
2. What have you tried to fix the issue?
I've set the HTTP and HTTPS proxy environment variables to allow Docker Compose to download the required images, and I added the server's hostname to the /etc/hosts file.
3. Upload any forms or screenshots you can share publicly below.
> => [service] exporting to image 0.0s
> => => exporting layers 0.0s
> => => writing image sha256:0100754b33998d47f60e19c9a20cb7bf3c04e213ae82d65f8fea0f85450f3699 0.0s
> => => naming to docker.io/library/central-service 0.0s
> => [nginx internal] load build definition from nginx.dockerfile 0.0s
> => => transferring dockerfile: 1.08kB 0.0s
> => [nginx internal] load metadata for docker.io/jonasal/nginx-certbot:5.4.0 1.5s
> => [nginx internal] load .dockerignore 0.0s
> => => transferring context: 67B 0.0s
> => CACHED [nginx stage-1 1/9] FROM docker.io/jonasal/nginx-certbot:5.4.0@sha256:ff6c9031d4d933772deffa6081dede7f0588b4c0b5c 0.0s
> => [nginx internal] load build context 0.1s
> => => transferring context: 91.97kB 0.0s
> => ERROR [nginx stage-1 2/9] RUN apt-get update && apt-get install -y netcat-openbsd 38.4s
> => ERROR [nginx intermediate 2/5] RUN apt-get update && apt-get install -y --no-install-recommends git 38.4s
> ------
> > [nginx stage-1 2/9] RUN apt-get update && apt-get install -y netcat-openbsd:
> 31.32 Ign:1 http://deb.debian.org/debian bookworm InRelease
> 31.32 Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
> 31.32 Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
> 32.32 Ign:1 http://deb.debian.org/debian bookworm InRelease
> 32.32 Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
> 32.32 Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
> 34.32 Ign:1 http://deb.debian.org/debian bookworm InRelease
> 34.32 Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
> 34.32 Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
> 38.32 Err:1 http://deb.debian.org/debian bookworm InRelease
> 38.32 Could not connect to deb.debian.org:80 (151.101.2.132), connection timed out Could not connect to deb.debian.org:80 (151.101.66.132), connection timed out Could not connect to deb.debian.org:80 (151.101.130.132), connection timed out Could not connect to deb.debian.org:80 (151.101.194.132), connection timed out
> 38.32 Err:2 http://deb.debian.org/debian bookworm-updates InRelease
> 38.32 Unable to connect to deb.debian.org:80:
> 38.32 Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
> 38.32 Unable to connect to deb.debian.org:80:
> 38.33 Reading package lists...
> 38.34 W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Could not connect to deb.debian.org:80 (151.101.2.132), connection timed out Could not connect to deb.debian.org:80 (151.101.66.132), connection timed out Could not connect to deb.debian.org:80 (151.101.130.132), connection timed out Could not connect to deb.debian.org:80 (151.101.194.132), connection timed out
> 38.34 W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease Unable to connect to deb.debian.org:80:
> 38.34 W: Failed to fetch http://deb.debian.org/debian-security/dists/bookworm-security/InRelease Unable to connect to deb.debian.org:80:
> 38.34 W: Some index files failed to download. They have been ignored, or old ones used instead.
> 38.36 Reading package lists...
> 38.37 Building dependency tree...
> 38.37 Reading state information...
> 38.37 E: Unable to locate package netcat-openbsd