Exclude files from Dockerfile
TL;DR - use .dockerignore file, Docker's equivalent of .gitignore for git
CATEGORY ARCHIVE
Practical knowledge, one discovery at a time.
130 ARTICLES
TL;DR - use .dockerignore file, Docker's equivalent of .gitignore for git
By default, nslookup in Linux will use the name servers configured in /etc/resolv.conf. To check against a specific dns server, add the dns server IP address or name
If you are looking for a Linux and programming cheat sheet, please checkhttps://github.com/chubin/cheat.sh
curl is a tool to interact with a server for transferring data. Although it supports various protocols, it is most commonly used with HTTP/S. It is sort of a browser
In Linux or similar Operating Systems, zip utility is used to package and compress (archive) files.
The tree command is a popular utility which lists the contents of a directory in a tree format, and it also allows users to specify the display depth of the director
In some cases, you might have multiple binaries, scripts or aliases with the same name in your system. Under certain circumstances you want to run only a built-in sh
While running a performance test on a local web service, I encountered below error -
How to disable or block XML-RPC in wordpress served by apache server.
One of the most frequent interview question for tech professionals, especially system administrators and developers is - "tell us what happens when you type a URL in