Category : docker-networking

I’m trying to put springboot application packaged in .jar in docker container and use connection to database which is inside another docker container. When launching application from Idea (while db already running on docker container) everything works fine. However, it’s not working as intended when .jar is inside container, and returns next error: application | ..

Read more

I’m trying to dockerize with docker-compose a stack of clients and services to realize E2E tests in Continuous Integration. The stack (every component is shipped whit its Dockerfile) is composed by: a Cypress project (separated from the angular project) an Angular web application client a NodeJS authentication server a Spring Boot resource server a Oracle ..

Read more

I have two Docker containers. Container One is named 5extraextranodes_plc1_1, and is run with docker-compose on a bridge network named test_net. Container 2 is built and run outside of docker-compose. In container 2, there is a Python3 script. Inside this Python3 script, I want to be able to look up the 5extraextranodes_plc1_1 container’s IP address. ..

Read more

I’m developing a solution that makes Docker services accessible as subdomains on an NGINX instance. Docker’s embedded bridge networks allow sibling containers to be discovered by their names; I can resolve a container service-1 as http://service-1 using the pseudo-DNS system. However, I’m stuck as to actually discovering these peers within the network. I know that ..

Read more

I am experiencing a weird issue where docker cannot resolve one of my networks version: "3.5" services: nginx: container_name: nginx_al image: nginx:latest volumes: – ./ssl:/ssl/ – ./nginx.conf:/etc/nginx/nginx.conf:ro ports: – "80:80" – "443:443" – "8080:8080" depends_on: – keycloak – server – admin – client networks: – client – admin – backend – keycloak keycloak: container_name: keycloak_al ..

Read more

A problem with a Docker Container running NextJS application trying to access another Docker Container running a NestJS-API. The environment looks like this: $ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b04de77cb381 ui "docker-entrypoint.s…" 9 minutes ago Up 9 minutes 0.0.0.0:8004->3000/tcp ui 6af7c952afd6 redis:latest "docker-entrypoint.s…" 2 hours ago Up 2 hours ..

Read more