Docker port bindings

docker ps command gives me:


Does it mean that port 40000 is busy and nobody can use given port?
I guess that is the case.

  • To understand ENTRYPOINT in docker
  • Cannot start a docker container
  • Does Docker support SO_REUSEPORT for kernel 3.9+?
  • ENTRYPOINT & CMD commands with mongod results in unknown option error
  • Unable to run docker image created from ISO
  • Why might Docker Compose restart be rendering container output an increasing number of times?
  • If so, why command lsof -i :40000 gives me an empty output?

  • Docker on CentOS with bridge to LAN network
  • How to automatically start services inside a docker container
  • Elastic search with docker does not start
  • Why isn't my server restarting / code updating using Docker + Nodejs?
  • What is the created time in docker images command?
  • pandas to_hdf function get Illegal instruction
  • One Solution collect form web for “Docker port bindings”

    Yes, that does mean that port 40000 on is being forwarded to a docker container. It does not necessarily mean that the container application is listening on port 8888 on all container interfaces ( which is needed to complete that connection.

    Three reasons that I can think of where lsof -i :40000 would give no output:

    1. You didn’t run the lsof command as root
    2. Something has killed the docker-proxy process used to relay this traffic
    3. You ran the lsof command on a different machine than your docker host. Docker is a client/server app, and by setting $DOCKER_HOST you can connect to a remote machine to see the status of a remote host.
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.