Friday, 9 February 2018

Docker for Windows: re-exec error: exit status 1: output: archive/tar: invalid tar header

I was building a docker image with SQLExpress and some custom databases within.

There are some layer size limitations in Windows
If you get the message:
re-exec error: exit status 1: output: archive/tar: invalid tar header
then you may have exceeded the maximum allowable layer size
https://github.com/moby/moby/issues/33586



You can increase the storage options:


{
  "registry-mirrors": [],
  "insecure-registries": [],
  "debug": true,
  "experimental": true,
  "storage-opts": [
    "size=40G"
  ]
}


No comments:

Post a comment