May-9th-2018, 02:39 PM
In other words, you can go into Docker>Containers. Click on the checkbox of your original container (make sure it is the only one checked) and click Stop. Click on the name (not the checkbox) of your container that you are talking about. After the “Container details” page opens, go down to “Create image” and click on the blue Create button. Click on Images on the left side bar and verify that a new image was created (probably at the bottom of the list with no Tag). Copy the Id to the clipboard.
Go to Containers on the left side bar. Click on +Add container. Name the container. Paste the Id of the image into Image. Turn off Always pull the image button. Continue to create the container as you did on your previous container entering all of the necessary information, but put in the correct port(s) that you want to use (if you are going to use the previous ones they also have to be entered). When all information is done, click Start container. Go back to Containers on the left side bar. Make sure all checkboxes are Unchecked. Check the box on your new container and click Start.
Go to Containers on the left side bar. Click on +Add container. Name the container. Paste the Id of the image into Image. Turn off Always pull the image button. Continue to create the container as you did on your previous container entering all of the necessary information, but put in the correct port(s) that you want to use (if you are going to use the previous ones they also have to be entered). When all information is done, click Start container. Go back to Containers on the left side bar. Make sure all checkboxes are Unchecked. Check the box on your new container and click Start.