wget - the non-interactive network downloader
wget [OPTION]... [URL]...
Options you will use
-q, --quiet- Turn off wget's output (no progress, no messages).
-O, --output-document FILE- Write the document to FILE;
-O -(as in -qO-) writes it to stdout, like curl. -qO-- -q (quiet) plus -O - (write the page to stdout): print the body and nothing else, like
curl -s. -S, --server-response- Print the server's response headers.
--spider- Do not download, just check the page exists (a readiness probe).
-T, --timeout SECONDS- Network timeout (DNS, connect and read).
-t, --tries N- Number of retries (default 20; 0 = forever).
-c, --continue- Resume a partially downloaded file.
-P, --directory-prefix DIR- Save files under DIR.
--no-check-certificate- Do not verify the server certificate.
-U, --user-agent AGENT- The User-Agent to send.
--header HEADER- Extra header, e.g. --header "Host: shop.lab".
-nv, --no-verbose- Less output, but still errors and one line per file.
-Y, --proxy on/off- BusyBox wget: use the proxy (http_proxy) or not.
Gotchas
- Alpine and BusyBox images ship wget but not curl, so
wget -qO- http://svc/is the usual in-container check. BusyBox wget has fewer options than GNU wget.
Try wget in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.