Browse Source

add container stop

master
zeus 3 years ago
parent
commit
df61a85392
  1. 1
      .gitignore
  2. 2
      files/container-stop.sh
  3. 1
      install.sh
  4. 2
      src-local/hybrid/connect/container-stop.sh

1
.gitignore

@ -2,6 +2,7 @@
node_modules
src-local/instance/
src-local/builders/
!./src-local/hybrid/connect/container-stop.sh
src-local/hybrid/connect/
src-local/hybrid/keys.json
src-local/logs

2
files/container-stop.sh

@ -0,0 +1,2 @@
docker stop $1
docker container rm $1

1
install.sh

@ -227,6 +227,7 @@ if [ $toolsok == 'ok' ];then
#cp -f $wdir/files/VuetableCssConfig.js $wdir/node_modules/vuetable-2/src/components/VuetableCssConfig.js
#cp -f $wdir/files/serve.js $wdir/node_modules/@vue/cli-service/lib/commands/serve.js
cp -f $wdir/files/status.sh $wdir/src-local/hybrid/connect/status.sh
cp -f $wdir/files/container-stop.sh $wdir/src-local/hybrid/connect/container-stop.sh
cp -f $wdir/files/get-swarmlab-ca $wdir/src-local/hybrid/connect/get-swarmlab-ca
cp -f $wdir/files/get-base-ca $wdir/src-local/hybrid/connect/get-base-ca
mkdir -p $wdir/src-local/instance

2
src-local/hybrid/connect/container-stop.sh

@ -0,0 +1,2 @@
docker stop $1
docker container rm $1
Loading…
Cancel
Save