0

Is there some tool or method to debug a dockerfile or a docker-compose file?

The idea would be to step at each layer and possibly inside each line of the scripts ran, to be able to check for example environment variables.

As a turnaround, if I can interpret correctly the dockerfile syntax, I can run the commands step by step in a console.

lalebarde
  • 1,684
  • 1
  • 21
  • 36
  • 1
    This might be helpful https://stackoverflow.com/a/63098810/19812413 –  Sep 18 '22 at 17:02

0 Answers0