Skip to content

Commit

Permalink
improving
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jan 24, 2017
1 parent fa78a31 commit a7e6e41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
docker build --no-cache --rm -t 192.168.5.106:5000/dev-env .
#docker build --rm -t 192.168.5.106:5000/dev-env .
#docker build --no-cache --rm -t docker.io/schnauzers/vim .
docker build --rm -t docker.io/schnauzers/vim .

2 changes: 1 addition & 1 deletion runcont.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#$1: 代表要挂载的本地目录,挂载到容器中的/mnt目录下
docker run -d -v $1:/mnt/ 192.168.5.106:5000/dev-env tail -f /dev/null
docker run -d -v $1:/mnt/ docker.io/schnauzers/vim tail -f /dev/null

0 comments on commit a7e6e41

Please sign in to comment.