Unable to access docker container via local host, webpack

I’m using the following command to create a docker container and mount a volume. I can shell into it fine, install and clone projects into it, they run etc but I can’t access the container from the host machine.

I’ve updated the webpack config to have the following 0.0.0.0:8080 host & port but still no luck. Not sure what else to try? I need to mount the volume and run inside the container but access the code and the server from the host

  • Docker, EC2 and Rstudio
  • NodeMCU build custom firmware by Docker protocol error
  • Run PHPUnit by terminal with Docker
  • docker run <image> : /usr/bin/env: ruby.exe : No such file or directory
  • What's the difference between Docker for Windows and Docker on Windows?
  • How to deploy using capistrano without current release symlink?
  • — Webpack config

    publicPath: isProd ? ‘/’ : ‘http://0.0.0.0:8080/’,

    — Docker command

    docker run –rm -w /code -ti -v ~/.ssh:/root/.ssh -v
    $(pwd)/angular2-dockertest:/code -p 8080:8080 node:6 bash

  • Unable to modify files in container from docker
  • Accessing localhost of a docker container from the host
  • How to create postgis extension for postgresql in docker?
  • Automatically Start Services in Docker Container
  • How to know if my program is completely started inside my docker with compose
  • Docker container on windows 10 unable to access host folder. It shows empty.
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.