I have been struggling for a very long time, literally weeks, to get Docker to open up ports via the Remote API.
Although I have raised github issues against Dockerode and Docker, they have all received no comment.
For example, I have a minimal example of the problem at https://github.com/docker/docker/issues/23432
Can anyone guide me to the right resources which would document the proper invocation via the Remote API? Dockerode is apparently the recommended library for accessing docker from node according to https://docs.docker.com/engine/reference/api/remote_api_client_libraries/ so I don’t know how else to make progress.