how to add localhost port to docker container

Currently container port config looks as follows:

"Ports": {
                "8080/tcp": [
                        "HostIp": "",
                        "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´╝č

  • docker-sync excludes are not excluded?
  • Docker Websocket Attaching in NodejS
  • docker-py: how can I check if the build was successful?
  • unable to pull any docker images on redhat 7.1
  • No nodes connecting to host in docker swarm
  • How to convert docker run command into json file?
  • How do I run a sql file of inserts through docker run?
  • Start an existing docker ubuntu container [duplicate]
  • I can't connect to cassandra from nodejs app in docker container
  • Ubuntu Core 16 on Raspberry Pi 3 cannot connect to Docker daemon
  • Update hosts file in all containers
  • IBM Containers (Dockers) service in Bluemix start before network service is ready
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.