![Rgba 0 0 0 0 5 Rgba 0 0 0 0 5](https://docs.docker.com/docker-for-mac/images/menu/prefs-daemon-basic.png)
I'm having this same issue on Microsoft Windows [Version 10.0.16299.371]. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
I have a service running on port 5000 in my docker container, but I'm unable to expose that port to localhost:5000 on my Mac. How do I do it? Dockerfile FROM node:8-alpine RUN npm install -g postgraphile EXPOSE 5000 docker-compose.yml version: '2' services: db: image: 'postgres:10.1-alpine' environment: POSTGRESPASSWORD: 'redditpass' expose: - '5432' pgql: build:. Ports: - '127.0.0.1:5000:5000' dependson: - db command: 'postgraphile', '-c', 'postgres://postgres:redditpass@db:5432' For pgql/ports, I've tried both '5000:5000' and '127.0.0.1:5000:5000' with the same results.
Docker-compose up Starting dockerdb1. Starting dockerdb1. Done Starting dockerpgql1. Starting dockerpgql1.