skip to Main Content

How to access localhost from within docker image

I have B application which calls A application. Here are the source code for them: A application : @SpringBootApplication @RestController @Slf4j public class AApplication { public static void main(String[] args) { SpringApplication.run(AApplication.class, args); } @GetMapping("call_a") public double callA() { log.info("calling…

VIEW QUESTION

Docker compose volumes where can be found on host windows

I have docker-compose file with volumes section for given container: video-streaming: image: video-streaming build: context: ./video-streaming dockerfile: Dockerfile-dev container_name: video-streaming volumes: - /tmp/history/npm-cache:/root/.npm:z I'm running docker on windows and image is linux based. When I enter container and add file…

VIEW QUESTION
Back To Top
Search