aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-04-23 12:25:24 +0000
committerterminaldweller <thabogre@gmail.com>2022-04-23 12:25:24 +0000
commitfeb01e618438f4cd3e55985c6fe9f303741d43c8 (patch)
tree950fea62831918499291509d329aa298c574e7ef /docker
parentupdate (diff)
downloadscripts-feb01e618438f4cd3e55985c6fe9f303741d43c8.tar.gz
scripts-feb01e618438f4cd3e55985c6fe9f303741d43c8.zip
updates
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/mysql.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/mysql.sh b/docker/mysql.sh
new file mode 100755
index 0000000..6216b48
--- /dev/null
+++ b/docker/mysql.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+docker run -d -p 3306:3306 -v mysql-data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password mysql:8-debian
+#docker run -it --network some-network --rm mysql mysql -hsome-mysql -uexample-user -p