Skip to content

Commit ede0f02

Browse files
committed
Updated Docker ReadMe
1 parent d5c282e commit ede0f02

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

Docker_README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,41 @@
66

77
docker-machine create --driver virtualbox seleniumbase
88

9-
#### 3. If your Docker environment ever goes down for any reason, you can bring it back up with a restart:
9+
##### (If your Docker environment ever goes down for any reason, you can bring it back up with a restart.)
1010

1111
docker-machine restart seleniumbase
1212

13-
#### 4. Configure your shell:
13+
#### 3. Configure your shell:
1414

1515
eval "$(docker-machine env seleniumbase)"
1616

17-
#### 5. Go to the SeleniumBase home directory. (That's where "Dockerfile" is located)
17+
#### 4. Go to the SeleniumBase home directory. (That's where "Dockerfile" is located)
1818

19-
#### 6. Create your Docker image from your Dockerfile: (Get ready to wait awhile)
19+
#### 5. Create your Docker image from your Dockerfile: (Get ready to wait awhile)
2020

2121
docker build -t seleniumbase .
2222

23-
#### 7. Run a test inside your Docker: (Once the test completes after a few seconds, you'll automatically exit the Docker shell)
23+
#### 6. Run a test inside your Docker: (Once the test completes after a few seconds, you'll automatically exit the Docker shell)
2424

2525
docker run seleniumbase ./run_docker_test_in_firefox.sh
2626

27-
#### 8. Now run the same test with Chrome inside your Docker:
27+
#### 7. Now run the same test with Chrome inside your Docker:
2828

2929
docker run seleniumbase ./run_docker_test_in_chrome.sh
3030

31-
#### 9. You can also enter Docker and stay inside the shell:
31+
#### 8. You can also enter Docker and stay inside the shell:
3232

3333
docker run -i -t seleniumbase
3434

35-
#### 10. Now you can run the example test from inside the Docker shell: (This time with PhantomJS)
35+
#### 9. Now you can run the example test from inside the Docker shell:
3636

37-
./run_docker_test_in_phantomjs.sh
37+
./run_docker_test_in_chrome.sh
3838

39-
#### 11. When you're satisfied, you may exit the Docker shell:
39+
#### 10. When you're satisfied, you may exit the Docker shell:
4040

4141
exit
4242

43-
#### 12. (Optional) Since Docker images and containers take up a lot of space, you may want to clean up your machine from time to time when they’re not being used:
43+
#### 11. (Optional) Since Docker images and containers take up a lot of space, you may want to clean up your machine from time to time when they’re not being used:
4444
http://stackoverflow.com/questions/17236796/how-to-remove-old-docker-containers
4545
Here are a few of those cleanup commands:
4646

@@ -57,7 +57,7 @@ Finally, if you want to wipe out your SeleniumBase Docker virtualbox, use these
5757
docker-machine kill seleniumbase
5858
docker-machine rm seleniumbase
5959

60-
#### 13. (Optional) More reading on Docker can be found here:
60+
#### 12. (Optional) More reading on Docker can be found here:
6161
* https://docs.docker.com
6262
* https://docs.docker.com/mac/started/
6363
* https://docs.docker.com/installation/mac/

docker/ReadMe.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,41 @@
66

77
docker-machine create --driver virtualbox seleniumbase
88

9-
#### 3. If your Docker environment ever goes down for any reason, you can bring it back up with a restart:
9+
##### (If your Docker environment ever goes down for any reason, you can bring it back up with a restart.)
1010

1111
docker-machine restart seleniumbase
1212

13-
#### 4. Configure your shell:
13+
#### 3. Configure your shell:
1414

1515
eval "$(docker-machine env seleniumbase)"
1616

17-
#### 5. Go to the SeleniumBase home directory. (That's where "Dockerfile" is located)
17+
#### 4. Go to the SeleniumBase home directory. (That's where "Dockerfile" is located)
1818

19-
#### 6. Create your Docker image from your Dockerfile: (Get ready to wait awhile)
19+
#### 5. Create your Docker image from your Dockerfile: (Get ready to wait awhile)
2020

2121
docker build -t seleniumbase .
2222

23-
#### 7. Run a test inside your Docker: (Once the test completes after a few seconds, you'll automatically exit the Docker shell)
23+
#### 6. Run a test inside your Docker: (Once the test completes after a few seconds, you'll automatically exit the Docker shell)
2424

2525
docker run seleniumbase ./run_docker_test_in_firefox.sh
2626

27-
#### 8. Now run the same test with Chrome inside your Docker:
27+
#### 7. Now run the same test with Chrome inside your Docker:
2828

2929
docker run seleniumbase ./run_docker_test_in_chrome.sh
3030

31-
#### 9. You can also enter Docker and stay inside the shell:
31+
#### 8. You can also enter Docker and stay inside the shell:
3232

3333
docker run -i -t seleniumbase
3434

35-
#### 10. Now you can run the example test from inside the Docker shell: (This time with PhantomJS)
35+
#### 9. Now you can run the example test from inside the Docker shell:
3636

37-
./run_docker_test_in_phantomjs.sh
37+
./run_docker_test_in_chrome.sh
3838

39-
#### 11. When you're satisfied, you may exit the Docker shell:
39+
#### 10. When you're satisfied, you may exit the Docker shell:
4040

4141
exit
4242

43-
#### 12. (Optional) Since Docker images and containers take up a lot of space, you may want to clean up your machine from time to time when they’re not being used:
43+
#### 11. (Optional) Since Docker images and containers take up a lot of space, you may want to clean up your machine from time to time when they’re not being used:
4444
http://stackoverflow.com/questions/17236796/how-to-remove-old-docker-containers
4545
Here are a few of those cleanup commands:
4646

@@ -57,7 +57,7 @@ Finally, if you want to wipe out your SeleniumBase Docker virtualbox, use these
5757
docker-machine kill seleniumbase
5858
docker-machine rm seleniumbase
5959

60-
#### 13. (Optional) More reading on Docker can be found here:
60+
#### 12. (Optional) More reading on Docker can be found here:
6161
* https://docs.docker.com
6262
* https://docs.docker.com/mac/started/
6363
* https://docs.docker.com/installation/mac/

0 commit comments

Comments
 (0)