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