Skip to content

Instantly share code, notes, and snippets.

@gdm85
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdm85/6886f83581d85a91a5ec to your computer and use it in GitHub Desktop.
Save gdm85/6886f83581d85a91a5ec to your computer and use it in GitHub Desktop.
testcase for Docker issue #8338 with import
#!/bin/bash
## @author gdm85
## testcase for Docker issue 8338
##
#
wget -q https://github.com/gdm85/tenku/releases/download/v0.3.0/wheezy.tar.bz2 -O- | bunzip2 | docker import - wheezy1
test -z ${PIPESTATUS[0]} && \
docker run wheezy1 /bin/bash -c "echo 'hello world'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment