The containerized version of the DVDStore3 load driver: https://github.com/dvdstore/ds3
8.4K
Based on dotnet-20-runtime-centos7. Follow these steps to build the ds3webdriver on CentOS with .NET Core 2.0 from SCL:
sudo yum -y install centos-release-scl centos-release-dotnet git scl enable rh-dotnet20 bash git clone https://github.com/dvdstore/ds3 mkdir ds3webdriver && cd ds3webdriver/ dotnet new console rm Program.cs cp ../ds3/ds3/drivers/*.cs . dotnet restore -r rhel.7-x64 dotnet build dotnet publish -f netcoreapp2.0 -c Release -r rhel.7-x64 --self-contained false
create the following Dockerfile while still being in the ds3webdriver/ directory:
FROM registry.centos.org/dotnet/dotnet-20-runtime-centos7
ADD bin/Release/netcoreapp2.0/rhel.7-x64/publish .
RUN ["touch", "driver_config.ini"]
ENTRYPOINT ["container-entrypoint", "dotnet", "ds3webdriver.dll"]
CMD ["--config_file=driver_config.ini"]
Build the image:
docker build -t ds3webdriver:latest .
Run by mapping in driver config file:
docker run -it -v /home/dmesser/ds3webdriver/driver.txt:/opt/app-root/app/driver_config.ini:Z ds3webdriver:latest
Optionally, run by supplying parameters directly:
docker run -it ds3webdriver:latest --db_size=20GB --run_time=5 --warmup_time=2 --think_time=0.01 --n_threads=8 --target=172.29.0.1
Content type
Image
Digest
Size
128.8 MB
Last updated
over 8 years ago
docker pull dmesser/ds3webdriver