I am using Codeship CI for my project.
I have selenium tests and I am using remote browser from selenium/standalone-firefox
but it's producing tons of logs, so I want to disable stdout for selenium/standalone-firefox
container.
Any ideas how I can do this?
CodeShip uses a custom variant of docker-compose v1 that accepts an environment setting. The following in codeship-services.yml worked for me:
The SE_OPTS value should not be in quotes. /tmp is writeable, other locations may result in a permission error.
I used this approach:
Added it as ENV variables in docker image for
selenium/standalone-chrome
.Use
--log-driver=none
indocker run
:Or docker-compose.yml
You can also send the log to a file using:
Or docker-compose.yml
For docker-compose file version 1 there is no other way than modifying the
entry_point.sh
put this file next your docker-compose.yml
entry_point.sh
The use this
docker-compose.yml
:Regards