diff --git a/.gitignore b/.gitignore index dece059..1e91c9f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,93 @@ +# gitignore created on 10/15/22 at 13:39 # Disable reminder in prompt ignoredirmessage +# OS generated files +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud + +### Windows ### +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# Other +**/.installed + # ignore commit message -.gitcommit +**/.gitcommit + +#ignore .failed +**/.build_failed + +# ignore .bak files +**/*.bak + +# ignore .no_push files +**/.no_push + +# ignore .no_git files +**/.no_git + diff --git a/README.md b/README.md index 8e873a2..0f5ff43 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,25 @@ ## Docker Install guide + ```bash yum install -y yum-utils device-mapper-persistent-data lvm2 yum install -y docker-ce systemctl enable docker --now -base=https://git.casjay.in/docker/tools/raw/branch/master/usr/local/bin +base="https://git.casjay.in/docker/tools/raw/branch/master/usr/local/bin" for i in docker-compose docker-machine do - sudo wget "$base/${i}" -O /usr/local/bin/${i} && chmod -f +x /usr/local/bin/$i + sudo wget "$base/${i}" -O /usr/local/bin/${i} && chmod -f +x "/usr/local/bin/$i" done -base=https://git.casjay.in/docker/tools/raw/branch/master/etc/bash_completion.d +base="https://git.casjay.in/docker/tools/raw/branch/master/etc/bash_completion.d" for i in docker-machine-prompt docker-machine-wrapper docker-machine docker-compose do - sudo wget "$base/${i}" -O /etc/bash_completion.d/$i + sudo wget "$base/${i}" -O "/etc/bash_completion.d/$i" done # Optional install portainer -mkdir -p /var/lib/docker/storage/portainer && chmod -Rf 777 /var/lib/docker/storage/portainer +mkdir -p "/var/lib/docker/storage/portainer" && chmod -Rf 777 "/var/lib/docker/storage/portainer" docker run -d -p 127.0.0.1:9010:9000 \ --restart always \ --name portainer \ @@ -27,7 +28,7 @@ docker run -d -p 127.0.0.1:9010:9000 \ portainer/portainer # Optional install registry -mkdir -p /var/lib/docker/storage/registry && chmod -Rf 777 /var/lib/docker/storage/registry +mkdir -p "/var/lib/docker/storage/registry" && chmod -Rf 777 "/var/lib/docker/storage/registry" docker run -d \ -p 5000:5000 \ --restart=always \ @@ -40,7 +41,7 @@ docker run -d \ registry # Optional install registry frontend -mkdir -p /var/lib/docker/storage/registry-web && chmod -Rf 777 /var/lib/docker/storage/registry-web +mkdir -p "/var/lib/docker/storage/registry-web" && chmod -Rf 777 "/var/lib/docker/storage/registry-web" docker run --name registry-web \ -d --restart=always \ -e ENV_DOCKER_REGISTRY_HOST=registry.casjay.in \ diff --git a/version.txt b/version.txt index 63fb729..ae51a3c 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -202107312349-git +202210181539-git