Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Build with VERSION=local version override with all images #8

Closed
lrhazi opened this issue Nov 6, 2014 · 9 comments
Closed

Build with VERSION=local version override with all images #8

lrhazi opened this issue Nov 6, 2014 · 9 comments
Labels

Comments

@lrhazi
Copy link

lrhazi commented Nov 6, 2014

➜ ~ docker run -d -p 4444:4444 -p 5900:5900 --name selenium-hub elgalu/selenium-hub:2.44.0
Unable to find image 'elgalu/selenium-hub:2.44.0' locally
Pulling repository elgalu/selenium-hub
2014/11/06 12:17:51 Error: image elgalu/selenium-hub not found

➜ ~ docker pull phusion/baseimage:0.9.15
...
➜ docker-selenium git:(master) VERSION=local make build
...
Successfully built df0ff142acaf
cd ./Hub && docker build -t elgalu/selenium-hub:local .
Sending build context to Docker daemon 5.12 kB
Sending build context to Docker daemon
Step 0 : FROM elgalu/selenium-base:2.44.0
Pulling repository elgalu/selenium-base
2014/11/06 12:24:01 Error: image elgalu/selenium-base not found
make: *** [hub] Error 1
➜ docker-selenium git:(master)

@ericfrancis
Copy link

https://registry.hub.docker.com/u/elgalu/docker-selenium/

If you go to the registry hub - you will see this command => docker pull elgalu/docker-selenium

Try that, and then try docker run -d -p 4444:4444 -p 5900:5900 --name selenium-hub elgalu/selenium-hub:2.44.0


update: this did not work for me, although I was able to pull the images

[ec2-user@ip-172-30-2-4 ~]$ sudo docker images
REPOSITORY               TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
elgalu/docker-selenium   latest              733b79879e68        44 hours ago        885.2 MB
centos                   centos5             192178b11d36        2 days ago          466.9 MB
centos                   centos6             70441cac1ed5        2 days ago          215.8 MB
centos                   centos7             ae0c2d0bdc10        2 days ago          224 MB
centos                   latest              ae0c2d0bdc10        2 days ago          224 MB
elgalu/docker-selenium   v2.43.1             a47fd434409e        3 days ago          1.019 GB
elgalu/docker-selenium   v2.42.2             0333796f2a22        3 days ago          1.019 GB
elgalu/docker-selenium   v2.44.0             5041b1da4163        3 days ago          1.019 GB
[ec2-user@ip-172-30-2-4 ~]$

update: there is this command on the registry hub sudo docker run --privileged -p 4444:4444 -p 5900:5900 elgalu/docker-selenium that adds --privileged to the command

@elgalu
Copy link
Owner

elgalu commented Nov 6, 2014

Sorry guys, I'm pushing the updates please give it a few hours and will be up into the registry.

@ericfrancis
Copy link

@elgalu I had a feeling this was the case as the git hub and docker pages were out of sync + mentions of splitting out the images. Thanks for the quick response!

@mtscout6
Copy link
Contributor

mtscout6 commented Nov 6, 2014

@ericfrancis I see the images up on dockerhub now so you should be good to go. We are still trying to get the information tab to display some docs up there but you should be good to pull the image.

@mtscout6
Copy link
Contributor

mtscout6 commented Nov 6, 2014

@lrhazi I hadn't thought about the base image concern when building locally. I'll have to revisit that approach. I can see why that build would have failed since we are not dynamically changing the FROM image spec in the downstream dockerfiles.

@mtscout6 mtscout6 added the bug label Nov 6, 2014
@mtscout6 mtscout6 changed the title Cant run and cant build Build with VERSION=local version override with all images Nov 6, 2014
@ericfrancis
Copy link

@mtscout6 docker pull elgalu/selenium-base worked, thanks!

@mtscout6
Copy link
Contributor

mtscout6 commented Nov 6, 2014

No problem! @elgalu corrected me offline that his push of all the images failed. I'm pushing the rest now.

@mtscout6
Copy link
Contributor

mtscout6 commented Nov 6, 2014

Ok all the images should be up now.

@elgalu
Copy link
Owner

elgalu commented Nov 17, 2014

Moved to SeleniumHQ/docker-selenium#1

@elgalu elgalu closed this as completed Nov 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants