Skip to content
Snippets Groups Projects
Commit 5cb69c2e authored by Montaño Sarria, Andres Felipe's avatar Montaño Sarria, Andres Felipe
Browse files

Rename docker run fucntion

parent 363f4b4e
Branches
Tags
No related merge requests found
...@@ -19,7 +19,7 @@ function dockbuild(){ ...@@ -19,7 +19,7 @@ function dockbuild(){
# ToDo Add extra parameters by arg # ToDo Add extra parameters by arg
# To share docker --volume /var/run/docker.sock:/var/run/docker.sock:ro # To share docker --volume /var/run/docker.sock:/var/run/docker.sock:ro
# To share video (usb-cam) --volume /dev/video0:/dev/video0 # To share video (usb-cam) --volume /dev/video0:/dev/video0
function rundock() { function dockrun() {
# Check if the image exist # Check if the image exist
if [[ "$(docker images -q devenv:$1 2> /dev/null)" == "" ]]; then if [[ "$(docker images -q devenv:$1 2> /dev/null)" == "" ]]; then
# build the image # build the image
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment