Articles by Deepak Prasad
COMPLETELY Uninstall Docker in Ubuntu
Step by step instructions to uninstall docker in Ubuntu. Cleanup and Delete all docker resources safely and completely
Docker ps -a Explained (List All Containers with Examples & Filters)
Learn how to use docker ps -a to list all containers including stopped ones. Explore examples, filters, and output details to manage Docker containers …
Docker Build Without Cache (docker build --no-cache Explained)
Learn how to build Docker images without using cache using the docker build --no-cache option. This guide explains when to disable cache, how Docker layer …
docker run -i command examples
Use docker run -i command to run the container interactively
wget Command in Linux (Syntax, Examples, Cheat Sheet + Interview Questions)
Master the wget command in Linux with syntax, examples, options, and a quick cheat sheet. Includes real-world use cases and wget interview questions for quick …
Golang hide password input [Replace input with asterisk]
In this tutorial we learned how to hide password input using asterisk in golang using different modules.
Copy files and preserve permission in Golang
How to copy files and preserve permission in golang.
Understanding Docker Vs Containerd
Container execution is handled by containerd. You can think of it as a container supervisor that handles container lifecycle operations.
How to check if golang channel buffer is full
There are 2 different methods to check if golang channel buffer is full. Using if statement or select statement.
Essential and Useful docker logs command Tips Revealed
docker logs -f or --follow is used to monitor the logs of container with dynamic update. docker logs --tail is used to additionally limit the number of lines to …
SSH into Docker Container [3 Simple Methods]
There are 3 different possible methods to perform docker container SSH. Using docker exec, docker attach and by running a SSHD service inside a container and …
Delete elements from slice in GO
Delete elements from slice in golang, first n elements, last n elements, without maintaining the order, maintain the order, delete random elements
Docker Restart Container [Control With Flags]
Docker restart container using various flags to control the restart behavior of the container
Add different condition in Dockerfile [5 Methods]
handle different condition in dockerfile such as docker file if else condition, arg conditions, ARG vs ENV comparison with examples
PodDisruptionBudget in Action with Examples
PodDisruptionBudget ensures a certain number or percentage of Pods will not voluntarily be evicted from a node at any one point in time
