I have two Suse Linux machines 10.0.0.10 and 10.0.0.11 (In the same network). I have installed docker in 10.0.0.10 machine (base machine IP) and Docker IP it is showing 172.17.0.1. I want to connect to from 10.0.0.11 to 172.17.0.1. What is the procedure, do I have to change any network settings. Source: Docker..
Hello I would need to explain following situation in docker world. I have several containers in a subnet network with Primary DNS server (can be default docker DNS server). I need to create containers in another subnet network with different Primary DNS server and with minimal downtime. I created new docker network and custom Bind9 ..
I am quite new to the docker topics and I have a question of connecting container services with traditional ones. Currently I am thinking of replacing an traditional grafana installation (directly on a linux server) with a grafana docker container. In grafana I have to connect to different data sources like a mysql instance, a ..
I try to make a bot on docker-compose with the bot-cloud from wickr, a alpine python machine and redis. It’s my 3 services. I see on Doc dns of docker solve IpAdress with the name of service. But when I do a post request from python_app service to ickr_io service. Nothing happens… docker-compose.yml version: "3.3" ..
I am trying to access ouside ports from the docker container using tomcat. My dockerfile looks like this: FROM tomcat:9.0-alpine # Remove default server configuration RUN rm /usr/local/tomcat/conf/server.xml # Add new server configuration COPY /path/to/conf/server.xml /usr/local/tomcat/conf/server.xml # Export backend port EXPOSE 8080 # Start tomcat server CMD chmod +x /usr/local/tomcat/bin/catalina.sh && catalina.sh run Seems simple. ..
Unfortunately, I cannot figure out: "which pool" overlaps with which "other one" On "which address space" …and: "what exactly is overlapping here" … so, I do have some problems with performing the right measures and modifications… Context: docker swarm, running on three nodes (one master, two workers, locally distributed VPS Ubuntu machines with docker & ..
java.lang.NullPointerException at java.base/java.lang.Thread.run(Thread.java:829) WARN MetricsSystem: Stopping a MetricsSystem that is not running Exception in thread Thread-5: Error Traceback (most recent call last): File "/opt/conda/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/opt/conda/lib/python3.9/threading.py", line 910, in run self._target(*self._args, **self._kwargs) File "/home/jovyan/pySpark.py", line 23, in receive_stream sc = SparkContext(appName="StreamTwitter") File "/opt/conda/lib/python3.9/site-packages/pyspark/context.py", line 146, in __init__ self._do_init(master, appName, sparkHome, ..
I have setup in which service_main stream logs on socket 127.0.0.1:6000 Simplified docker-compose.yml looks like that: version: "3" networks: some_network: driver: bridge ipam: driver: default config: – subnet: 100.100.100.0/24 gateway: 100.100.100.1 services: service_main: image: someimage1 networks: some_network: ipv4_address: 100.100.100.2 service_listener: image: someimage2 networks: some_network: ipv4_address: 100.100.100.21 command: listen 100.100.100.2:6000 My assumption that it SHOULD work ..
From the Docker documentation: –publish or -p flag. Publish a container’s port(s) to the host. –expose. Expose a port or a range of ports. –link. Add link to another container. Is a legacy feature of Docker. It may eventually be removed. I am using docker-compose with several networks. I do not want to publish any ..
I need to restrict connections to a docker container. The docker documentation states the following: iptables -I DOCKER-USER -i ext_if ! -s 192.168.1.0/24 -j DROP After this the DOCKER-USER chain starts looking like this: Chain DOCKER-USER (1 references) target prot opt source destination DROP all — !192.168.1.0/24 anywhere RETURN all — anywhere anywhere This works ..