29 May 2019 Comments Off

Stopped containers still exist until you explicitly remove them. $ docker kill$ docker rmRemove all dangling volumes:docker volume rm $(docker volume ls -qf dangling=true)Remove all unused images: (The one with tag)sudo docker rmi $(sudo docker images

27 May 2019 Comments Off

Amazon CLI is useful for running the deployment scripts built using Terraform.Install Amazon CLIStep 1: Check if Python is installed on your machine, if not Install Python on your desktop.Step 2: Verify python

25 May 2019 Comments Off

The awk commandThe awk command also lets you convert a file from UNIX to Windows and vice versa. To convert a Windows file to a UNIX file, enter the following command:awk '{ sub("r$", ""); print }' windows.txt > unix.txtTo

24 May 2019 Comments Off

The Docker FlowAn image is every file that makes up, just enough, operating system that is required for everything that you need to do. Listing all the docker images on the docker server

22 May 2019 Comments Off

One of the big features of docker is the ability to enforce limits on how many resources a container is gonna use. You can limit it to a fixed amount of memory, and it prevents the

20 May 2019 Comments Off

In this article, we will see how to analyze a heap dump in detail using ‘jhat’ tool. It’s easier to explain Heap analysis process with an example Memory leak program. public class Address {     private String address1;

15 May 2019 Comments Off

Follow the below steps to take the thread and Heap dumps from a docker container1. Run the below command to bash into the container. Please change the CONTAINER_NAME appropriately docker exec -it CONTAINER_NAME