- Open Docker Desktop
- Go to Settings → Resources → Proxies
- Enable "Manual proxy configuration"
- Set HTTP/HTTPS proxy to your corporate proxy
- Add localhost,127.0.0.1 to the "Bypass proxy settings" list
Create or edit ~/.docker/config.json:
{
"proxies":
{
"default":
{
"httpProxy": "http://your-proxy-server:port",
"httpsProxy": "http://your-proxy-server:port",
"noProxy": "localhost,127.0.0.1"
}
}
}The Dockerfiles have been updated to use alternative base images:
FROM node:18-alpine
FROM mcr.microsoft.com/node:18-alpine # Microsoft Container Registry FROM ghcr.io/nodejs/node:18-alpine # GitHub Container Registry FROM quay.io/nodejs/node:18-alpine # Red Hat Quay
If you can access Docker Hub through a browser:
- Download the node:18-alpine image manually
- Load it into Docker: docker load -i node-18-alpine.tar
Update Dockerfiles to use a local Node.js installation or multi-stage builds.