parent
f99efd985e
commit
e4a9745272
@ -1 +1,4 @@ |
|||||||
git reset --hard && git pull && chmod +x build && docker build . -t test:1.0 --no-cache |
#!/bin/sh |
||||||
|
#构建镜像 |
||||||
|
|
||||||
|
git reset --hard && git pull && chmod +x build delete exec run && docker build . -t test:1.0 --no-cache |
||||||
|
@ -1 +1,4 @@ |
|||||||
|
#!/bin/sh |
||||||
|
#删除容器以及镜像 |
||||||
|
|
||||||
docker stop test && docker rm test && docker rmi test:1.0 |
docker stop test && docker rm test && docker rmi test:1.0 |
||||||
|
@ -1 +1,4 @@ |
|||||||
|
#!/bin/sh |
||||||
|
#进入容器 |
||||||
|
|
||||||
docker exec -it test /bin/sh |
docker exec -it test /bin/sh |
||||||
|
Loading…
Reference in new issue