Closed MikaelSmith closed 4 years ago
Tracking this down, it was introduced in https://github.com/puppetlabs/wash/commit/842b8e54f49152c172f686c5d66ffd9670e431cc. Using od -c
showed Wash has CRLF instead of LF. https://github.com/moby/moby/issues/8513 was particularly illuminating.
Listing files in a docker container truncates the file. For example, listing
/etc/hosts
ends up withwhen the actual content is