Docker Build with Proxy

Recently I just faced some network issues when building up docker images on our AWS Bastion. The docker build command cannot pick up the environment variable for network proxy. Network Issue with Docker Build When I used curl -i https://registry.docker.io to check the network, everything looks OK. But when I was trying to build the docker image via docker build -t nba ./ and it raised the following Timeout error....

January 30, 2019 · 2 min · 323 words · Eric

Docker Command  [draft]

Prune images 1 docker image prune -af or 1 docker rm $(docker ps -q -a -f "status=exited")

September 17, 2016 · 1 min · 17 words · Eric