Deploying containers in a swarm environment: Test Docker Containers

More manuals

Test Docker Containers

To test if a container is running correctly, we can go to this address in the navigator: 

docker.sb.upf.edu:XXXX, where XXXX is the port number given to you in the CAU. 

 

We can check the logs in the services panel of the stack clicking the logs icon: 

When you click this icon, you can see the logs of the service which is providing your container. In this example, we can see HTTP gets of a client. 

If everything works fine, we will change the load balancer configuration to point to this port and all deployed Docker servers.