Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit fd403f3

Browse files
Updated README for Dev and Beta channel container images -- added docker-compose files (SeleniumHQ#1663)
Updated README to include information on the Dev and Beta channel container images, and also added a docker-compose file for dev and for beta on the Selenium Grid. [skip ci]
1 parent d9b52af commit fd403f3

File tree

3 files changed

+227
-0
lines changed

3 files changed

+227
-0
lines changed

README.md

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ Talk to us at https://www.selenium.dev/support/
2222

2323
* [Quick start](#quick-start)
2424
* [Experimental Mult-Arch aarch64/armhf/amd64 Images](#experimental-mult-arch-aarch64armhfamd64-images)
25+
* [Dev and Beta Channel Browser Images](#dev-and-beta-channel-browser-images)
26+
+ [Dev and Beta Standalone Mode](#dev-and-beta-standalone-mode)
27+
+ [Dev and Beta on the Grid](#dev-and-beta-on-the-grid)
2528
* [Execution modes](#execution-modes)
2629
+ [Standalone](#standalone)
2730
+ [Hub and Nodes](#hub-and-nodes)
@@ -100,6 +103,146 @@ in _this_ repository (SeleniumHQ/docker-selenium) instead of the experimental on
100103

101104
___
102105

106+
## Dev and Beta Channel Browser Images
107+
108+
To run tests or otherwise work with pre-release browsers, Google, Mozilla, and Microsoft maintain a Dev and Beta release channel for those who need to see what's soon to be released to the general population.
109+
110+
### Dev and Beta Standalone Mode
111+
112+
Here are the instructions to run them in Standalone mode:
113+
114+
**Chrome Beta:**
115+
116+
```bash
117+
$ docker run --rm -it -p 4444:4444 -p 7900:7900 --shm-size 2g selenium/standalone-chrome:beta
118+
```
119+
120+
**Chrome Dev:**
121+
122+
```bash
123+
$ docker run --rm -it -p 4444:4444 -p 7900:7900 --shm-size 2g selenium/standalone-chrome:dev
124+
```
125+
126+
**Firefox Beta:**
127+
128+
```bash
129+
$ docker run --rm -it -p 4444:4444 -p 7900:7900 --shm-size 2g selenium/standalone-firefox:beta
130+
```
131+
132+
**Firefox Dev:**
133+
134+
```bash
135+
$ docker run --rm -it -p 4444:4444 -p 7900:7900 --shm-size 2g selenium/standalone-firefox:dev
136+
```
137+
138+
**Edge Beta:**
139+
140+
```bash
141+
$ docker run --rm -it -p 4444:4444 -p 7900:7900 --shm-size 2g selenium/standalone-edge:beta
142+
```
143+
144+
**Edge Dev:**
145+
146+
```bash
147+
$ docker run --rm -it -p 4444:4444 -p 7900:7900 --shm-size 2g selenium/standalone-edge:dev
148+
```
149+
150+
### Dev and Beta on the Grid
151+
152+
**docker-compose-v3-beta-channel.yml:**
153+
```bash
154+
# To execute this docker-compose yml file use `docker-compose -f docker-compose-v3-beta-channel.yml up`
155+
# Add the `-d` flag at the end for detached execution
156+
# To stop the execution, hit Ctrl+C, and then `docker-compose -f docker-compose-v3-beta-channel.yml down`
157+
version: "3"
158+
services:
159+
chrome:
160+
image: selenium/node-chrome:beta
161+
shm_size: 2gb
162+
depends_on:
163+
- selenium-hub
164+
environment:
165+
- SE_EVENT_BUS_HOST=selenium-hub
166+
- SE_EVENT_BUS_PUBLISH_PORT=4442
167+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
168+
169+
edge:
170+
image: selenium/node-edge:beta
171+
shm_size: 2gb
172+
depends_on:
173+
- selenium-hub
174+
environment:
175+
- SE_EVENT_BUS_HOST=selenium-hub
176+
- SE_EVENT_BUS_PUBLISH_PORT=4442
177+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
178+
179+
firefox:
180+
image: selenium/node-firefox:beta
181+
shm_size: 2gb
182+
depends_on:
183+
- selenium-hub
184+
environment:
185+
- SE_EVENT_BUS_HOST=selenium-hub
186+
- SE_EVENT_BUS_PUBLISH_PORT=4442
187+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
188+
189+
selenium-hub:
190+
image: selenium/hub:latest
191+
container_name: selenium-hub
192+
ports:
193+
- "4442:4442"
194+
- "4443:4443"
195+
- "4444:4444"
196+
```
197+
198+
**docker-compose-v3-dev-channel.yml:**
199+
```bash
200+
# To execute this docker-compose yml file use `docker-compose -f docker-compose-v3-dev-channel.yml up`
201+
# Add the `-d` flag at the end for detached execution
202+
# To stop the execution, hit Ctrl+C, and then `docker-compose -f docker-compose-v3-dev-channel.yml down`
203+
version: "3"
204+
services:
205+
chrome:
206+
image: selenium/node-chrome:dev
207+
shm_size: 2gb
208+
depends_on:
209+
- selenium-hub
210+
environment:
211+
- SE_EVENT_BUS_HOST=selenium-hub
212+
- SE_EVENT_BUS_PUBLISH_PORT=4442
213+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
214+
215+
edge:
216+
image: selenium/node-edge:dev
217+
shm_size: 2gb
218+
depends_on:
219+
- selenium-hub
220+
environment:
221+
- SE_EVENT_BUS_HOST=selenium-hub
222+
- SE_EVENT_BUS_PUBLISH_PORT=4442
223+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
224+
225+
firefox:
226+
image: selenium/node-firefox:dev
227+
shm_size: 2gb
228+
depends_on:
229+
- selenium-hub
230+
environment:
231+
- SE_EVENT_BUS_HOST=selenium-hub
232+
- SE_EVENT_BUS_PUBLISH_PORT=4442
233+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
234+
235+
selenium-hub:
236+
image: selenium/hub:latest
237+
container_name: selenium-hub
238+
ports:
239+
- "4442:4442"
240+
- "4443:4443"
241+
- "4444:4444"
242+
```
243+
244+
For more information on the Dev and Beta channel container images, see the blog post on [Dev and Beta Channel Browsers via Docker Selenium](https://www.selenium.dev/blog/2022/dev-and-beta-channel-browsers-via-docker-selenium/).
245+
103246
## Execution modes
104247

105248
### Standalone

docker-compose-v3-beta-channel.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# To execute this docker-compose yml file use `docker-compose -f docker-compose-v3-beta-channel.yml up`
2+
# Add the `-d` flag at the end for detached execution
3+
# To stop the execution, hit Ctrl+C, and then `docker-compose -f docker-compose-v3-beta-channel.yml down`
4+
version: "3"
5+
services:
6+
chrome:
7+
image: selenium/node-chrome:beta
8+
shm_size: 2gb
9+
depends_on:
10+
- selenium-hub
11+
environment:
12+
- SE_EVENT_BUS_HOST=selenium-hub
13+
- SE_EVENT_BUS_PUBLISH_PORT=4442
14+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
15+
16+
edge:
17+
image: selenium/node-edge:beta
18+
shm_size: 2gb
19+
depends_on:
20+
- selenium-hub
21+
environment:
22+
- SE_EVENT_BUS_HOST=selenium-hub
23+
- SE_EVENT_BUS_PUBLISH_PORT=4442
24+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
25+
26+
firefox:
27+
image: selenium/node-firefox:beta
28+
shm_size: 2gb
29+
depends_on:
30+
- selenium-hub
31+
environment:
32+
- SE_EVENT_BUS_HOST=selenium-hub
33+
- SE_EVENT_BUS_PUBLISH_PORT=4442
34+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
35+
36+
selenium-hub:
37+
image: selenium/hub:latest
38+
container_name: selenium-hub
39+
ports:
40+
- "4442:4442"
41+
- "4443:4443"
42+
- "4444:4444"

docker-compose-v3-dev-channel.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# To execute this docker-compose yml file use `docker-compose -f docker-compose-v3-dev-channel.yml up`
2+
# Add the `-d` flag at the end for detached execution
3+
# To stop the execution, hit Ctrl+C, and then `docker-compose -f docker-compose-v3-dev-channel.yml down`
4+
version: "3"
5+
services:
6+
chrome:
7+
image: selenium/node-chrome:dev
8+
shm_size: 2gb
9+
depends_on:
10+
- selenium-hub
11+
environment:
12+
- SE_EVENT_BUS_HOST=selenium-hub
13+
- SE_EVENT_BUS_PUBLISH_PORT=4442
14+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
15+
16+
edge:
17+
image: selenium/node-edge:dev
18+
shm_size: 2gb
19+
depends_on:
20+
- selenium-hub
21+
environment:
22+
- SE_EVENT_BUS_HOST=selenium-hub
23+
- SE_EVENT_BUS_PUBLISH_PORT=4442
24+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
25+
26+
firefox:
27+
image: selenium/node-firefox:dev
28+
shm_size: 2gb
29+
depends_on:
30+
- selenium-hub
31+
environment:
32+
- SE_EVENT_BUS_HOST=selenium-hub
33+
- SE_EVENT_BUS_PUBLISH_PORT=4442
34+
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
35+
36+
selenium-hub:
37+
image: selenium/hub:latest
38+
container_name: selenium-hub
39+
ports:
40+
- "4442:4442"
41+
- "4443:4443"
42+
- "4444:4444"

0 commit comments

Comments
 (0)