Last active
July 14, 2016 15:37
-
-
Save j00bar/c9a1b39ee7bf64b5964888557405c198 to your computer and use it in GitHub Desktop.
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
Big-Kahuna:~ jginsberg$ docker --version | |
Docker version 1.12.0-rc2, build 906eacd, experimental | |
Big-Kahuna:~ jginsberg$ uname -a | |
Darwin Big-Kahuna.fios-router.home 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64 | |
Big-Kahuna:~ jginsberg$ grep builder.sh Dockerfile | |
ADD builder.sh /usr/local/bin/builder.sh | |
Big-Kahuna:~ jginsberg$ docker ps -a | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
78e89d1eaf7f 66f6e379609a "/usr/local/bin/build" 7 minutes ago Created ansible_ansible-container_1 | |
Big-Kahuna:~ jginsberg$ docker start 78e89d1eaf7f | |
Error response from daemon: Container command '/usr/local/bin/builder.sh' not found or does not exist. | |
Error: failed to start containers: 78e89d1eaf7f | |
Big-Kahuna:~ jginsberg$ docker run --rm -it 66f6e379609a /usr/local/bin/builder.sh ls -l /usr/local/bin/builder.sh | |
-rwxr-xr-x 1 root root 113 Jul 13 19:29 /usr/local/bin/builder.sh | |
Big-Kahuna:~ jginsberg$ docker run --rm -it 66f6e379609a /usr/local/bin/builder.sh cat /usr/local/bin/builder.sh | |
#!/bin/bash | |
test '(! -f /src/requirements.txt)' || pip install --no-cache-dir -q -U -r /src/requirements.txt | |
$@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment