Rename my-scripts folder to scripts

This commit is contained in:
Matheus Albino
2023-11-06 03:16:17 -03:00
parent 09ea15eed7
commit abd9414b9f
21 changed files with 0 additions and 0 deletions

12
scripts/shell/run-docker-wsl.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# docker
DOCKER_DISTRO="Arch"
DOCKER_DIR=/mnt/wsl/shared-docker
DOCKER_SOCK="$DOCKER_DIR/docker.sock"
export DOCKER_HOST="unix://$DOCKER_SOCK"
# if [ ! -S "$DOCKER_SOCK" ]; then
# mkdir -pm o=,ug=rwx "$DOCKER_DIR"
# chgrp docker "$DOCKER_DIR"
# /mnt/c/Windows/System32/wsl.exe -d $DOCKER_DISTRO sh -c "nohup sudo -b dockerd < /dev/null > $DOCKER_DIR/dockerd.log 2>&1"
# fi