Why does chown increase size of docker image?

前端 未结 4 1792
心在旅途
心在旅途 2020-12-31 10:31

I can\'t understand why the \'chown\' command should increase the size of my docker image?

The following Dockerfile creates an image of size 5.3MB:

4条回答
  •  不知归路
    2020-12-31 11:09

    This is a known problem unfortunately: https://github.com/docker/docker/issues/5505 and https://github.com/docker/docker/issues/6119#issuecomment-70606158

    You can fix this by changing the docker storage driver from aufs to devicemapper as described in https://github.com/docker/docker/issues/6119#issuecomment-268870519

提交回复
热议问题