How to get a Docker container’s IP address from the host

In this article, we will see how to get a Docker container’s IP address from the host using different methods.

We can get the docker container IP using inspect or by chekcing hosts file. Continue reading How to get a Docker container’s IP address from the host

How to copy files from Docker Container to host

In this article, we will see how to copy files from Docker Container to host step by step.

We can copy files from host to docker container using docker cp command. Using the same cp command, we can docker container to docker host.

Copy files from host to Docker container

Syntax to copy files from host to Docker container:

sudo docker cp source_path container_id/name:destination_path

Continue reading How to copy files from Docker Container to host

How to copy files from host to Docker container

In this article, we will see how to copy files from host to Docker container step by step.

We can copy files from host to docker container using docker cp command. Using the same cp command, we can docker container to docker host.

Copy files from host to Docker container

Syntax to copy files from host to Docker container:

sudo docker cp source_path container_id/name:destination_path

Continue reading How to copy files from host to Docker container

How to download and install IBM DB2 database on Windows

In this article, we will see how to download and install IBM DB2 database on Windows step by step. We are going to install community edition on Windows server.

How to download and install IBM DB2 database on Windows

1. Go to google then search for IBM db2 download or copy either of below links and paste in web browser and hit enter. Continue reading How to download and install IBM DB2 database on Windows

Cannot connect to the Docker daemon at unix docker.sock. Is the docker daemon running?

In this article, we will see the solution for the Docker error:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Cannot connect to the Docker daemon at unix docker.sock. Is the docker daemon running? Continue reading Cannot connect to the Docker daemon at unix docker.sock. Is the docker daemon running?

How to check docker is running or not on Linux

In this article, we will see how to check docker is running or not on Linux.

ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

We can find the docker engine is running or not using service, systemctl or simply running docker info/version command. We will find the docker using all these methods.

How to check docker is running or not on Linux

1. Just run docker info. This will show us docker is running or not.

docker info

How to check docker is running or not on Linux

2. We can also get docker information by checking process information.

ps -ef | grep docker

The above output is sayign its not started.

If it is started, output is like below.

3. We can also find the status of docker service using below commands.

sudo systemctl status docker

or

sudo service docker status

How to start stop and restart docker service on Linux

In this article, we will see how to start stop and restart docker service on Linux.

We can start, stop or restart docker in Linux using service or systemctl commands with the sudo privleges. Also we can start using docker daemon i.e. dockerd. Continue reading How to start stop and restart docker service on Linux

How to download and install Oracle Database 21c on Windows 11

In this article, we will see how to download and install Oracle Database 21c on Windows 11 ste by step. At the time of making article Oracle Database 21c is latest Oracle version which is available for download.

System requirements to install Oracle database 21c Windows:

Minimum 2GB free RAM.
10GB of empty space on Hard Disk Drive
A processor that supports Intel EM64T or AMD64 architecture.
Display card with a minimum resolution of 1024×768 pixels.
16GB SWAP space if RAM is more than 16GB. Continue reading How to download and install Oracle Database 21c on Windows 11