Dockerspec Version
Dockerspec (0.4.1)
Ruby Version
Ruby 2.4.0
Platform Details
CentOS Linux release 7.3.1611
Scenario
Hello,
I would like execute scripts for test in containers with specific options.
For this, containers are executed with specific options like this:
docker run --name httpd-prod-opts --health-cmd "echo" --memory = 512M --cpu-period = 100000 --cpu-quota = 75000 Pids-limit = 100 --network = my_bridge -d my_image
I would like to connect to a running container in order to run serverspec tests on it such as , is it possible ? In my script I can't use "describe docker_run('')" cause I need to have my specific options formy containers.
I tried several things without success, I don't know how to proceed to connect to a running container
Is there a method for this?
Sorry for my english, it is not really good
Regards,
Azaroths
Dockerspec Version
Dockerspec (0.4.1)
Ruby Version
Ruby 2.4.0
Platform Details
CentOS Linux release 7.3.1611
Scenario
Hello,
I would like execute scripts for test in containers with specific options.
For this, containers are executed with specific options like this:
docker run --name httpd-prod-opts --health-cmd "echo" --memory = 512M --cpu-period = 100000 --cpu-quota = 75000 Pids-limit = 100 --network = my_bridge -d my_imageI would like to connect to a running container in order to run serverspec tests on it such as , is it possible ? In my script I can't use "describe docker_run('')" cause I need to have my specific options formy containers.
I tried several things without success, I don't know how to proceed to connect to a running container
Is there a method for this?
Sorry for my english, it is not really good
Regards,
Azaroths