Solved: docker – error during connect

 

sagu@sagu-pc MINGW64 ~

$ docker image ls

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.29/images/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

sagu@sagu-pc MINGW64 ~

If you are getting above error while running the docker commands in Docker Quickstart Terminal then you can have one of the listed problem.

Udemy

Continue reading “Solved: docker – error during connect”

VMWare AU/Asia Pacific

Solved: How to create an image of a docker container.

So you have completed all the installation on a docker container and now you want to keep it as golden image.

Golden images are useful when you want to create more containers with same configuration. This also ensure that when you ship an image from Dev to UAT or Prod it will be exactly same as it was when you tested it.

Udemy

Continue reading “Solved: How to create an image of a docker container.”

VMWare AU/Asia Pacific

Solved: Error when allocating new name – Docker

Error response from daemon: Error when allocating new name: Conflict. The container name "/webserver" is already in use by container 6c34a8wetwyetwy7463462d329c9601812tywetdyud76767d65f7dc7ea58d8541. You have to remove (or rename) that container to be able to reuse that name.

If you see the above error it is because a container with same name exist.

Let’s check our running containers

Udemy

Continue reading “Solved: Error when allocating new name – Docker”

VMWare AU/Asia Pacific

Solved: Error while deleting docker network

When you try to delete a network you may get the below error.

C:\>docker network rm network_name
Error response from daemon: network network_name has active endpoints

This error comes when you have an active endpoint. First you have to inspect the network to check if any container is still running which is using the network.

Udemy

Continue reading “Solved: Error while deleting docker network”

VMWare AU/Asia Pacific

How to load database in mysql docker container?

After creating the mysql docker container i wanted to load a new database dump to it.

In case you are wondering how to create dockers on you windows machine you can refer my post here .

Udemy

If you are just testing it you can download a sample mysql database from here .

Once you have downloaded the sample DB unzip it in a folder.

VMWare AU/Asia Pacific

Continue reading “How to load database in mysql docker container?”

How to use WordPress in Docker Container on your Windows Laptop.

Pre-requisites:-

I am using “Docker for Windows” software to run dockers on my Windows 10 laptop. You can get “Docker for Windows” by clicking on this link .

If you have Windows 7 download Docker Toolbox for Windows with Virtualbox.

Udemy

Once you’ve installed Docker Toolbox, install a VM with Docker Machine using the VirtualBox provider:

docker-machine create --driver=virtualbox default
docker-machine ls
eval "$(docker-machine env default)"
How to create docker containers?

Once you have installed pre-requisite software create a docker-compose.yml file in a text editor.

VMWare AU/Asia Pacific

Continue reading “How to use WordPress in Docker Container on your Windows Laptop.”