Category : docker-command

I am currently unable to connect to mongo when I run docker-compose, I keep on getting the error below connect EHOSTUNREACH 172.25.0.2:27017 Here is my docker-compose.yml file version: "3.4" services: app: container_name: checki restart: always build: context: . network: host ports: – "3000:9000" links: – mongo mongo: container_name: mongo image: mongo volumes: – ./data:/data/db ports: ..

Read more

I have used the following command for port mapping sudo docker run -d -p 3306:33060 –name App1 APP/framework:app where 3306 port are belong localhost machine mysql and 33060 is the port into docker container,so communication is happen between 3306:33060 in docker.I’m getting issue as below sudo docker run -d -p 3306:33060 –name App1 APP/framework:app fc1ffe98b2f2e6299a3070be8296d8b530ef4bdb3bd4cfd79d28ffc535a361c1 ..

Read more