New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick initial changes to let me run the tests in a docker container against Docker 1.2.0 #8

Merged
merged 1 commit into from Sep 26, 2014

Conversation

Projects
None yet
2 participants
@SvenDowideit
Copy link
Contributor

SvenDowideit commented Sep 26, 2014

The Dockerfile probably (sadly) will need to not container the Build test step - perhaps that should be the CMD, so the DOCKER_HOST` can be over-ridden.

I'll play a little more here and there, though I'm about to go camping for the week, so :)

@SvenDowideit

This comment has been minimized.

Copy link
Contributor Author

SvenDowideit commented Sep 26, 2014

Bonus feature:

bash-3.2$ docker run --rm -it docker-perl
ID                  IMAGE               COMMAND                CREATED             STATUS              PORTS
e619112eae2f        10.10.10.2:5001/sve bash                   1411104597          Up 7 days           ARRAY(0x14a6918)    
363ec1c45841        10.10.10.2:5001/sve bash                   1411104470          Up 7 days           ARRAY(0x203a330)    
bash-3.2$ docker run --rm -it -e DOCKER_HOST=http://10.10.10.2:2375 docker-perl
ID                  IMAGE               COMMAND                CREATED             STATUS              PORTS
81c6020392ca        debian:jessie       bash                   1410846895          Up 10 days          ARRAY(0x2ec0e70)    
d5b2c687e6c6        registry:0.8.1      /bin/sh -c 'exec do    1410148219          Up 2 weeks          ARRAY(0x235e7c0)    
3ff493efa936        registry-mirror:lat /bin/sh -c 'exec do    1409898545          Up 3 weeks          ARRAY(0x2ed8b28)    
dbe59f7dfed5        svendowideit/dnsmas /bin/bash              1400805485          Up 3 weeks          ARRAY(0x2ed8db0)    
4801c84b9377        dovecot:latest      /bin/sh -c /runit.s    1397826373          Up 3 weeks          ARRAY(0x2ed8eb8)    
ccf35f936311        apt-cacher:latest   /bin/sh -c 'chmod 7    1392356487          Up 3 weeks          ARRAY(0x2ed9068)    

you can talk to any accessible docker daemon using the -e DOCKER_HOST var at run time.

pstuifzand added a commit that referenced this pull request Sep 26, 2014

Merge pull request #8 from SvenDowideit/initial-play
Quick initial changes to let me run the tests in a docker container against Docker 1.2.0

@pstuifzand pstuifzand merged commit a587c98 into pstuifzand:master Sep 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment