If you need to get a docker container logs , you have to run the following commands :

$ docker ps

with this command we will get all the running container list to get the id of the container :

Then we will use this id to get the logs :

// docker container logs --details container-id

$ docker container logs --details 791a7864bde8


  1. Pingback: Example of SonarQube with Jenkins using Docker Images » JavaTuto

Laisser un commentaire