anchor.diff:  docker stop 0bc123a8ece0
   ----
   
  -Now let's make sure, we're exposing the correct port, that we want to access during startup:
  +Restart the container as:
  +
  +[source, text]
  +----
  +> docker ps
  +CONTAINER ID        IMAGE                                 COMMAND                CREATED             STATUS              PORTS                     NAMES
  +4545ced66242        192.168.99.100:5000/wildfly:latest    "/opt/jboss/wildfly/   3 seconds ago       Up 3 seconds        0.0.0.0:32768->8080/tcp   suspicious_wozniak   
  +----
  +
  +`-P` flag map any network ports inside the image it to a random high port from the range 49153 to 65535 on Docker host.
  +
  +The port mapping is shown in the `PORTS` column. Access the WildFly server at http://dockerhost:32768:8080. Make sure to use the correct port number as shown in your case.
  +
  +### Run Container with Specified Port
  +
  +Lets stop the previously running container as:
  +
  +[source, text]
  +----
  +docker stop 4545ced66242
  +----
  +
  +Restart the container as:
   
   [source, text]
   ----
  
positive.code: 
  Hit Ctrl+C to stop the container.
  
  #### Run Detached Container
  
  Restart the container in detached mode:
  
  
negative.code: 
  Also try `docker ps -a` to see all the containers on this machine.
  
  ### Run Container with Default Port
  
  Startup log of the server shows that the server is located in the `/opt/jboss/wildfly`. It also shows that the public interfaces are bound to the `0.0.0.0` address while the admin interfaces are bound just to `localhost`. This information will be useful to learn how to customize the server.
  
  `docker-machine ip <machine-name>` gives us the Docker Host IP address and this was already added to the hosts file. So, we can give it another try by accessing: http://dockerhost:8080. However, this will not work either.
  
  If you want containers to accept incoming connections, you will need to provide special options when invoking `docker run`. The container, we just started, can't be accessed by our browser. We need to stop it again and restart with different options.
  
  