You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
406 B
8 lines
406 B
#!/bin/bash |
|
|
|
# Runs test image and monitor image as daemons |
|
test_name="docker_demo" |
|
echo 'Starting containers for: ' "$test_name" |
|
touch "$test_name".name |
|
test_container=$(docker run -d -it -v $PWD/_results:/opt/results --privileged --device=/dev/net/tun "$test_name":latest) |
|
monitor_container=$(docker run -d -it -v $PWD/_results:/opt/results --privileged --device=/dev/net/tun "$test_name"_monitor:latest) |