I’m looking to use the host container for testing, with a docker container
selenium/standalone-chrome for a remote browser. I’ve got this working locally, and I’ve been looking over 2.0 examples including
On the local system, a smoke test run looks like:
docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:3.0.1-germanium- BTW I don’t think the volume is absolutely required here - I think it is just an optimization.
CI=true RAILS_ENV=test bundle exec rake cucumber FEATURE=features/public_pages.feature
I’d like to run on the host with a docker container running the selenium browser. I prefer to avoid full configuration of the
machine and use the
docker executor type for both performance reasons and minimizing configuration that gets out of date.
- Specifically is the
cci-demo-flaskexample running two containers as daemons?
- Which one is the host container in the
cci-demo-flaskexample and how is that identified (first one?)?
- What if you don’t need a specific container for the host but want to run
selenium/standalone-chromeas a daemon as I described above?
Getting Started: Docker Engine has an example then refers to a rails app. The topic seems relevant but the
cci-demo-railsyml deviates significantly. Is there an updated config documentation?