Newbie Q: How to print/capture a file from Dockerfile

Recent Docker versions tend to “eat” a lot of the terminal output during the build process. You can ask the builder to use the “old” behavior which is a bit more verbose by disabling BuildKit, and also to ask it to only build the image and not do a deploy while you debug the build process.

DOCKER_BUILDKIT=false fly deploy --build-only

  • Daniel
1 Like