docker icon indicating copy to clipboard operation
docker copied to clipboard

Typo in Readmefile

Open aahutsal opened this issue 7 years ago • 0 comments

netbeans(){
    ACTIVE_MACHINE=$(docker-machine active)
    X11HOST="$(docker-machine inspect $ACTIVE_MACHINE \
        | grep HostOnlyCIDR \
        | awk '{print $2}' \
        | sed 's/"//g' \
        | cut -f1 -d"/")"
    docker run -d -it \
        -e DISPLAY=$X11HOST:0.0 \
        -e "TZ=America/Chicago" \
        -v $HOME/Workspace/.netbeans:/root/.netbeans \
        -v $HOME/Workspace/.m2:/root/.m2 \
        -v $HOME/Workspace/github/<your repo name>:/root/repo \
        --name netbeans \
        psharkey/netbeans
}

should read

netbeans(){
    ACTIVE_MACHINE=$(docker-machine active)
    X11HOST="$(docker-machine inspect $ACTIVE_MACHINE \
        | grep HostOnlyCIDR \
        | awk '{print $2}' \
        | sed 's/"//g' \
        | cut -f1 -d"/")"
    docker run -d -it \
        -e DISPLAY=$X11HOST:0.0 \
        -e "TZ=America/Chicago" \
        -v $HOME/Workspace/.netbeans:/root/.netbeans \
        -v $HOME/Workspace/.m2:/root/.m2 \
        -v $HOME/Workspace/github/<your repo name>:/root/repo \
        --name netbeans \
        psharkey/netbeans-8.1
}

aahutsal avatar May 03 '17 01:05 aahutsal