how to add localhost port to docker container

Currently container port config looks as follows:

"Ports": {
                "8080/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "58080"
                    }
                ]
            },

I want to add another port for the container, and keep the running environment for lookup operation problems. Whether there is a way to solve this problem´╝č

  • Can't connect to docker-machine container on digitalocean
  • Why is my docker command from ant not executed?
  • Why does AWS have two services to deploy Docker (one “Infra” and one “Platform”)?
  • Why are all ports published by default with this Docker image
  • Hadoop and Docker
  • Error 50007 when creating cgroup with cgroup_new_cgroup
  • Cannot connect to the Docker daemon on ubuntu 14.04
  • Install MongoDB and Tomcat using Dockerfile
  • How can i force remove a docker container using 'docker_container' module of Ansible?
  • Why is Dockerized Hadoop datanode registering with the wrong IP address?
  • AOT Compiler to Shrink Docker Container
  • Symfony app deployment with docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.