Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As you can see above, Odysseus started. We also exposed one port the the outside: port 9669 is forwarded to port 9700, wherefore we should be able to see the WebService in our host machine. Just open http://localhost:9700/odysseus?wsdl in a browser on your host machine.You should be able to see an XML-file describing the Odysseus WebService.

Push the container to DockerHub

We want to make is easy for others to install Odysseus. Hence, we will push our image to DockerHub.

  1. Firstly, we need to tag our container: sudo docker tag c39f4bd5fd33 tobi42/odysseus_server:03-16
    1. Notice, that the name "tobi42" before the slash is your account name on Dockerhub, next is the image name and after the : you have the version label or tag
  2. Next, we login to DockerHub: sudo docker login
  3. Now push it to DockerHub: sudo docker push tobi42/odysseus_server:03-16
  4. Take a look on your DockerHub account. You should be able to see your container.

 

Some Docker management

  • See all your running containers: sudo docker ps
  • See all your started containers (including non-running containers): sudo docker ps -a
  • Stop all running containers: sudo docker stop $(sudo docker ps -a -q)
  • Delete all started containers: sudo docker rm $(sudo docker ps -a -q)
  • Delete all images: sudo docker rmi $(sudo docker images -q)

...