We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10fbf33 commit 4346e45Copy full SHA for 4346e45
restart-docker-container.bat
@@ -0,0 +1,10 @@
1
+@echo off
2
+REM Restart docker containers by stopping and then starting them
3
+
4
+SET SCRIPT_DIR=%~dp0
5
6
+call "%SCRIPT_DIR%stop-docker.bat"
7
+IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
8
9
+call "%SCRIPT_DIR%start-docker.bat"
10
+EXIT /B %ERRORLEVEL%
restart-docker-container.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Restart docker containers by stopping and then starting them
+set -e
+SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+"$SCRIPT_DIR/stop-docker.sh"
+"$SCRIPT_DIR/start-docker.sh"
0 commit comments