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

13 September 2017 Comments Off

Add the following line in user's home directory/.sbt/repositories filemy-local-repo:file://Example:my-local-repo:file://c:/Users/bguser/.m2/repository

18 July 2017 Comments Off

SBT respects the usual environment variables for http/https proxy settings:Set the below environment variables before invoking SBT and it should work.SET JVM_OPTS=-Dhttp.proxyHost= -Dhttp.proxyPort= -Dhttps.proxyHost= -Dhttps.proxyPort=SET JAVA_OPTS=-Dhttp.proxyHost= -Dhttp.proxyPort= -Dhttps.proxyHost= -Dhttps.proxyPort=If you have username / password for your proxy authentication, then

14 July 2017 Comments Off

Reference --> StackoverflowI just installed Hadoop 2.6 from tarball on 64-bit CentOS 6.6. The Hadoop install did indeed come with a prebuilt 64-bit native library. For my install, it is here:/opt/hadoop/lib/native/libhadoop.so.1.0.0And I know it

  • 1
  • 2