Category : docker-networking

when trying to execute the playbook of ansible using the command below: ansible-playbook -i inventories/xxx setup-vm.yml –ask-become-pass I got this error: TASK [ansible-docker-swarm/roles/docker-installation : Set netmask for gwbridge docker network] fatal: [xxx-master]: FAILED! => {"changed": true, "cmd": ". /etc/profile.d/docker-client.sh; ip link set docker_gwbridge down; ip link del dev docker_gwbridge; docker network disconnect -f docker_gwbridge gateway_ingress- ..

Read more

I’m testing to see if two containers (tomcat and busybox) in a same network ‘myNetwork’ are able to communicate with each other. I followed the steps: Create a network, ‘myNetwork’ docker network create -d bridge myNetwork Run a ‘myTomcat’ container in ‘myNetwork’ docker run -it –name myTomcat –net=myNetwork tomcat Run a ‘busybox’ container in the ..

Read more

The problem I am attempting to create a docker-compose file that will host three services. InfluxDB, Grafana, and a custom script in a customer Dockerfile that fills the database. I am having networking issues, and the custom script is not able to connect to the InfluxDB due to a connection refused error (shown below). What ..

Read more