We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5058da commit 26e77c0Copy full SHA for 26e77c0
run-oracle-21.3.sh
@@ -2,13 +2,12 @@
2
3
set -euo pipefail
4
5
-echo "Removing existing container..."
+SOURCE_DIR=`dirname "${BASH_SOURCE[0]}"`
6
+source "$SOURCE_DIR/common.sh"
7
8
CONTAINER_NAME=oracle-21.3
9
-docker kill $CONTAINER_NAME 2>/dev/null || echo "Nothing to kill"
10
-
11
-docker rm $CONTAINER_NAME 2>/dev/null || echo "Nothing to remove"
+kill-existing $CONTAINER_NAME
12
13
docker run -p 1521:1521 -p 2484:2484 \
14
--name $CONTAINER_NAME \
0 commit comments