Skip to content

Commit

Permalink
Merge pull request #4 from g31s/v1.1.1
Browse files Browse the repository at this point in the history
docker run fix
  • Loading branch information
g31s authored Jul 15, 2019
2 parents 0570729 + 98b24be commit 24a0790
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pdocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ create_new_container(){
elif [[ $volumepath != "n" ]]; then
volume="--volume $volumepath:/home/$name"
docker run --name $name $volume -t -i pdocker /bin/bash
else
docker run --name $name -t -i pdocker /bin/bash
fi

}

# check_containers check if there is existing containers.
Expand Down

0 comments on commit 24a0790

Please sign in to comment.