Tag: networking

Can't discover docker container on user defined network

Since i updated to Docker version 1.10 i’m not able to find other containers on the user defined network. I’m not able to ping the newly created container connected to the same network. I’ve created a network called “my_net”. Then I’m creating a container with the flag: “–net=my_net” and calling it: “first_container”. Then When I […]

how to use Openvswitch bridge as bridge driver in docker libnetwork

I am working with libnetwork for docker networking. Libnetwork has different network divers ex. null,Bridge, Overlay ,Remote. In the bridge driver libnetwork create a bridge inside the host machine so that containers can be connected to that. It create linux bridges when we use bridge driver in libnetwork. My problem is how to replace linux […]

Docker is not correctly binding ports on windows

I am beginning to move my project to a docker container in order to be able to develop more stuff without depending too much on the OS I’m using. This is the way I run my container: docker run -d -v “$(pwd)/app:/app” -v “/c/Users/Geoffrey/Projects/go:/go” –name “server” –link mysql:mysql -p my/server:latest Quickly, my program executes […]

Oracle Java in Docker Container cannot resolve hostname after /etc/nsswitch.conf changed

I was minimizing Oracle-JRE 8 Docker Image to deploy my own playframework app. Host: CentOS 7 minimal + Oracle JRE 8 The steps are as following: Create bash docker image with busybox, since playframework generate bash based startup scripts. I built bash binaries, and use ldd /bin/bash to find related lib so files, and ADD […]

Configure LXC to use wireless hosted network

I found most of the configuration is for giving static or private network. But I want it to act as a different machine so it will get a separate IP address from the DHCP and I want to do it through nmcli. Thanks in advance.

Docker container name not resolved as DNS for overlay network not reachable

I’ve an application composed of a kafka producer and another kafka consumer. I’m trying to deploy it on a Docker swarm on AWS with mutli-host networking enabled. Kafka container is created by the following docker-compose.yml file: kafka: image: spotify/kafka environment: ADVERTISED_PORT: 9092 ports: – “2181:2181” – “9092:9092” This is how I run the containers for […]

Is Docker capable of providing container with gigabit network?

I tried to setup a docker environment with gigabit network speed. My docker host is capable and nativly running services with 1000mbps. Is it even possible to enable my docker container to use gigabit network speed and avoid the fastethernet (100mbps) connection? If so, can anyone give my a hint how to do that or […]

How to reach Kubernetes service from another computer?

My IP-address: DNS_SERVICE_IP: SERVICE_IP_RANGE kubectl get svc return: NAME LABELS SELECTOR IP(S) PORT(S) guestbook app=guestbook app=guestbook 3000/TCP kubernetes component=apiserver,provider=kubernetes <none> 443/TCP mongodb app=mongodb app=mongodb 27017/TCP redis-master app=redis,role=master app=redis,role=master 6379/TCP Kubernetes master IP: My local IP: PING ( 56(84) bytes of data. — ping statistics — […]

Only receiving MQTT messages in interactive mode within a docker container

I created a micro service (using scala and Akka) that listens to an MQTT broker. As MQTT Library using the paho mqttv3 library. The service works as expected when running it locally but after packaging it into a docker container, it will only run normally in –interactive (-i) mode. Otherwise, after successful connection to the […]

java.net.SocketException when accessing docker host

I’m new to docker and need to connect from inside a running centos docker container to the host running the container using a java socket. When trying to connect a SocketException occurs: [root@743fedf46128 test]# java SocketTest 4444 0 Trying to connect using ip address Using remote ip Using remote port 4444 Using […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.