skip to Main Content

Redis – Docker: How to fix "could not translate host name "postgres" to address" when connecting from one container to another using container name?

I start 3 container: docker run -d --rm --name redis --publish 6379:6379 redis docker run -d --rm --name postgres --publish 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e POSTGRES_DB=hi postgres:9.6 docker run -d --rm --name web --publish 8000:8000 python:3.6.8-stretch sleep 1000 Doing docker ps…

VIEW QUESTION

Memcached – PhpStorm (macOS) + Docker + Xdebug not work

I have now switched everything to Docker. The containers are loaded and I have reorganized my projects. Sample my docker-compose.yaml: version: '2' services: php: container_name: php2 image: tamuarchi/yii2-mssql:latest volumes: - ~/.composer-docker/cache:/root/.composer/cache:delegated - ./:/app:delegated ports: - '80:80' links: - db networks:…

VIEW QUESTION
Back To Top
Search