Created
February 29, 2016 23:40
-
-
Save gunjan5/78c2b3489c6967e6ef5b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| image="gunjan5/onos-sr" | |
| port_str="" | |
| for p in 8181 8101 9876 6653 6633; do | |
| port_str="$port_str -p $p:$p/tcp" | |
| done | |
| echo "Starting docker with publish port list at $port_str" | |
| docker run -itd $port_str $image /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment