Last active
March 6, 2022 18:07
-
-
Save motin/cca880c647263eb5e98d9f1e0d60a3c5 to your computer and use it in GitHub Desktop.
Run "git clone https://gist.github.com/cca880c647263eb5e98d9f1e0d60a3c5.git replicate-docker-issue-21950 && bash replicate-docker-issue-21950/replicate-docker-issue-21950.sh" to replicate https://github.com/docker/docker/issues/21950
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM busybox | |
COPY . / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM test | |
COPY . / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd replicate-docker-issue-21950 | |
dd if=/dev/zero of=0.data bs=1 count=0 seek=10000000 | |
dd if=/dev/zero of=1.data bs=1 count=0 seek=10000000 | |
dd if=/dev/zero of=2.data bs=1 count=0 seek=10000000 | |
dd if=/dev/zero of=3.data bs=1 count=0 seek=10000000 | |
dd if=/dev/zero of=4.data bs=1 count=0 seek=10000000 | |
dd if=/dev/zero of=5.data bs=1 count=0 seek=10000000 | |
dd if=/dev/zero of=6.data bs=1 count=0 seek=10000000 | |
dd if=/dev/zero of=7.data bs=1 count=0 seek=10000000 | |
dd if=/dev/zero of=8.data bs=1 count=0 seek=10000000 | |
dd if=/dev/zero of=9.data bs=1 count=0 seek=10000000 | |
set -x | |
docker version | |
docker info | |
docker build -t test . | |
echo foo >> 0.data | |
docker build -t test -f Dockerfile.update . | |
docker history test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment